diff --git a/src/js_realm.hpp b/src/js_realm.hpp index 929e47b6..a313d9ae 100644 --- a/src/js_realm.hpp +++ b/src/js_realm.hpp @@ -754,6 +754,8 @@ void RealmClass::wait_for_download_completion(ContextType ctx, FunctionType, return; } } +#else + static_cast(config_object); #endif ValueType callback_arguments[1];