diff --git a/wrappers/src/shared_realm_cs.cpp b/wrappers/src/shared_realm_cs.cpp index 4577888e2b..29abe079a0 100644 --- a/wrappers/src/shared_realm_cs.cpp +++ b/wrappers/src/shared_realm_cs.cpp @@ -320,7 +320,7 @@ REALM_EXPORT MarshaledVector shared_realm_get_log_category_names } } - return result; + return {result}; } REALM_EXPORT SharedRealm* shared_realm_open(Configuration configuration, NativeException::Marshallable& ex)