diff --git a/src/js_init.cpp b/src/js_init.cpp index 9dbb67ee..f6125958 100644 --- a/src/js_init.cpp +++ b/src/js_init.cpp @@ -2,12 +2,12 @@ * Proprietary and Confidential */ -#import "js_init.h" -#import "js_realm.hpp" -#import "js_object.hpp" -#import "js_util.hpp" -#import "js_schema.hpp" -#import "platform.hpp" +#include "js_init.h" +#include "js_realm.hpp" +#include "js_object.hpp" +#include "js_util.hpp" +#include "js_schema.hpp" +#include "platform.hpp" #include "shared_realm.hpp" #include diff --git a/src/js_init.h b/src/js_init.h index 26401799..876844e2 100644 --- a/src/js_init.h +++ b/src/js_init.h @@ -2,6 +2,8 @@ * Proprietary and Confidential */ +#pragma once + #include #ifdef __cplusplus diff --git a/src/js_list.hpp b/src/js_list.hpp index 5444621d..3f459ca7 100644 --- a/src/js_list.hpp +++ b/src/js_list.hpp @@ -2,9 +2,11 @@ * Proprietary and Confidential */ -#import "js_util.hpp" -#import "shared_realm.hpp" -#import "list.hpp" +#pragma once + +#include "js_util.hpp" +#include "shared_realm.hpp" +#include "list.hpp" JSClassRef RJSListClass(); JSObjectRef RJSListCreate(JSContextRef ctx, realm::List &list); diff --git a/src/js_object.hpp b/src/js_object.hpp index b40189c5..f1028e3e 100644 --- a/src/js_object.hpp +++ b/src/js_object.hpp @@ -2,7 +2,9 @@ * Proprietary and Confidential */ -#import "js_util.hpp" +#pragma once + +#include "js_util.hpp" namespace realm { class Object; diff --git a/src/js_realm.hpp b/src/js_realm.hpp index d16f9c78..fa2b4fdd 100644 --- a/src/js_realm.hpp +++ b/src/js_realm.hpp @@ -2,7 +2,9 @@ * Proprietary and Confidential */ -#import "js_util.hpp" +#pragma once + +#include "js_util.hpp" #include namespace realm { diff --git a/src/js_results.hpp b/src/js_results.hpp index 3867a6b1..3f0e9aa1 100644 --- a/src/js_results.hpp +++ b/src/js_results.hpp @@ -2,7 +2,9 @@ * Proprietary and Confidential */ -#import "js_util.hpp" +#pragma once + +#include "js_util.hpp" namespace realm { class Realm; diff --git a/src/js_schema.hpp b/src/js_schema.hpp index 24160af6..4564fcf4 100644 --- a/src/js_schema.hpp +++ b/src/js_schema.hpp @@ -2,8 +2,10 @@ * Proprietary and Confidential */ -#import "js_util.hpp" -#import +#pragma once + +#include "js_util.hpp" +#include namespace realm { class Schema; diff --git a/src/js_util.cpp b/src/js_util.cpp index 2cd1f68f..409ce1b7 100644 --- a/src/js_util.cpp +++ b/src/js_util.cpp @@ -3,6 +3,7 @@ */ #include "js_util.hpp" +#include using namespace realm; diff --git a/src/js_util.hpp b/src/js_util.hpp index 4cac1c3a..2a359fba 100644 --- a/src/js_util.hpp +++ b/src/js_util.hpp @@ -2,7 +2,11 @@ * Proprietary and Confidential */ +#pragma once + +#include #include +#include #include #include