fixes gcc optimisation causing RealmCoordinator to use a empty/default path
fix indentation
This commit is contained in:
parent
3244f441fc
commit
53c28dca16
|
@ -184,7 +184,8 @@ Group *Realm::read_group()
|
||||||
|
|
||||||
SharedRealm Realm::get_shared_realm(Config config)
|
SharedRealm Realm::get_shared_realm(Config config)
|
||||||
{
|
{
|
||||||
return RealmCoordinator::get_coordinator(config.path)->get_realm(std::move(config));
|
auto coordinator = RealmCoordinator::get_coordinator(config.path);
|
||||||
|
return coordinator->get_realm(std::move(config));
|
||||||
}
|
}
|
||||||
|
|
||||||
void Realm::update_schema(std::unique_ptr<Schema> schema, uint64_t version)
|
void Realm::update_schema(std::unique_ptr<Schema> schema, uint64_t version)
|
||||||
|
|
Loading…
Reference in New Issue