Skip to content

Commit

Permalink
Use braced initializer when returning marshaled vector.
Browse files Browse the repository at this point in the history
  • Loading branch information
elle-j committed Jul 5, 2024
1 parent 40d4b6c commit b32f048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrappers/src/shared_realm_cs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ REALM_EXPORT MarshaledVector<realm_string_t> shared_realm_get_log_category_names
}
}

return result;
return {result};
}

REALM_EXPORT SharedRealm* shared_realm_open(Configuration configuration, NativeException::Marshallable& ex)
Expand Down

0 comments on commit b32f048

Please sign in to comment.