Skip to content

Commit d94b36b

Browse files
committed
fix(headers): Updated .h files to .hpp
1 parent 24566a6 commit d94b36b

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ add_geode_library(
4040
"common.cpp"
4141
"hello_world.cpp"
4242
PUBLIC_HEADERS
43-
"common.h"
44-
"hello_world.h"
43+
"common.hpp"
44+
"hello_world.hpp"
4545
PRIVATE_DEPENDENCIES
4646
OpenGeode::basic
4747
)

include/mylib/common.h renamed to include/mylib/common.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
#pragma once
66

7-
#include <geode/basic/common.h>
8-
#include <geode/basic/library.h>
9-
#include <mylib/opengeode_mymodule_mylib_export.h>
7+
#include <geode/basic/common.hpp>
8+
#include <geode/basic/library.hpp>
9+
#include <mylib/opengeode_mymodule_mylib_export.hpp>
1010

1111
namespace mymodule
1212
{

include/mylib/hello_world.h renamed to include/mylib/hello_world.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
#pragma once
2525

26-
#include <mylib/common.h>
26+
#include <mylib/common.hpp>
2727

2828
namespace mymodule
2929
{

src/mylib/common.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
*
2222
*/
2323

24-
#include <mylib/common.h>
24+
#include <mylib/common.hpp>
2525

26-
#include <geode/basic/library.h>
26+
#include <geode/basic/library.hpp>
2727

2828
namespace mymodule
2929
{

src/mylib/hello_world.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
*
2222
*/
2323

24-
#include <mylib/hello_world.h>
24+
#include <mylib/hello_world.hpp>
2525

26-
#include <geode/basic/logger.h>
26+
#include <geode/basic/logger.hpp>
2727

2828
namespace mymodule
2929
{

tests/mylib/test-hello-world.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
*
2222
*/
2323

24-
#include <geode/basic/assert.h>
25-
#include <geode/basic/logger.h>
24+
#include <geode/basic/assert.hpp>
25+
#include <geode/basic/logger.hpp>
2626

27-
#include <mylib/hello_world.h>
27+
#include <mylib/hello_world.hpp>
2828

2929
int main()
3030
{

0 commit comments

Comments
 (0)