From c370de6d5d7ead8f7076eef2b999b0896ab6f3d9 Mon Sep 17 00:00:00 2001 From: Kenneth Geisshirt Date: Wed, 27 Sep 2017 22:31:27 +0200 Subject: [PATCH] Linker issue. --- src/js_sync.hpp | 2 +- tests/js/session-tests.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js_sync.hpp b/src/js_sync.hpp index df11d731..f8f30ace 100644 --- a/src/js_sync.hpp +++ b/src/js_sync.hpp @@ -39,7 +39,7 @@ namespace realm { namespace js { -realm::SyncManager& syncManagerShared() { +inline realm::SyncManager& syncManagerShared() { static bool configured = []{ ensure_directory_exists_for_file(default_realm_file_directory()); SyncManager::shared().configure_file_system(default_realm_file_directory(), SyncManager::MetadataMode::NoEncryption); diff --git a/tests/js/session-tests.js b/tests/js/session-tests.js index 91f669fe..36b52840 100644 --- a/tests/js/session-tests.js +++ b/tests/js/session-tests.js @@ -37,7 +37,7 @@ let execFile; if (isNodeProccess) { tmp = node_require('tmp'); - fs = node_require('fs-extra'); + fs = node_require('fs'); execFile = node_require('child_process').execFile; tmp.setGracefulCleanup(); }