Skip to content

Commit 394105b

Browse files
committed
fix linux build errors
1 parent 4d640b3 commit 394105b

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed

CxxTypeRegistration/inc/TestUtilsBook.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace test_utils
2525

2626
static constexpr const char* class_ = "Book";
2727
static constexpr const char* str_setAuthor = "setAuthor";
28-
static constexpr const char* str_setDecription = "setDecription";
28+
static constexpr const char* str_setDescription = "setDescription";
2929
static constexpr const char* str_getPublishedOn = "getPublishedOn";
3030
static constexpr const char* str_setPublishedOn = "setPublishedOn";
3131
static constexpr const char* str_updateBookInfo = "updateBookInfo";

CxxTypeRegistration/src/MyReflection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ CxxMirror& MyReflection::instance()
6363

6464
//unique methods.
6565
Reflect().record<Book>(book::class_).method(book::str_setAuthor).build(&Book::setAuthor),
66-
Reflect().record<Book>(book::class_).method(book::str_setDecription).build(&Book::setDescription),
66+
Reflect().record<Book>(book::class_).method(book::str_setDescription).build(&Book::setDescription),
6767
Reflect().record<Book>(book::class_).method(book::str_getPublishedOn).build(&Book::getPublishedOn),
6868

6969
//method overloads.

ReflectionTemplateLib/detail/inc/FunctorContainer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#pragma once
22

33
#include <mutex>
4+
#include <atomic>
45
#include <vector>
56
#include <functional>
67

ReflectionTemplateLib/detail/inc/MethodContainer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#pragma once
22

33
#include <mutex>
4+
#include <atomic>
45
#include <vector>
56
#include <functional>
67

ReflectionTemplateLib/detail/src/FunctorId.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#pragma once
21

32
#include "FunctorId.h"
43

ReflectionTemplateLib/detail/src/TypeIdInitializer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#pragma once
21

32
#include <atomic>
43

0 commit comments

Comments
 (0)