Fix ambiguous type reference error (#943)

* Fix ambiguous type reference error

* Bump ROS version for testing
This commit is contained in:
Yavor Georgiev 2017-03-27 16:58:58 +02:00 committed by GitHub
parent 5ce8afa559
commit f0d70d4061
2 changed files with 2 additions and 2 deletions

View File

@ -2,4 +2,4 @@ PACKAGE_NAME=realm-js
VERSION=1.1.1 VERSION=1.1.1
REALM_CORE_VERSION=2.4.0 REALM_CORE_VERSION=2.4.0
REALM_SYNC_VERSION=1.4.0 REALM_SYNC_VERSION=1.4.0
REALM_OBJECT_SERVER_VERSION=1.0.3 REALM_OBJECT_SERVER_VERSION=1.3.0

View File

@ -32,7 +32,7 @@ JSObjectRef RJSConstructorCreate(JSContextRef ctx) {
} }
void RJSInitializeInContext(JSContextRef ctx) { void RJSInitializeInContext(JSContextRef ctx) {
static const String realm_string = "Realm"; static const jsc::String realm_string = "Realm";
JSObjectRef global_object = JSContextGetGlobalObject(ctx); JSObjectRef global_object = JSContextGetGlobalObject(ctx);
JSObjectRef realm_constructor = RJSConstructorCreate(ctx); JSObjectRef realm_constructor = RJSConstructorCreate(ctx);