pr feedback
This commit is contained in:
parent
9012549c5d
commit
9fe636b614
|
@ -501,10 +501,9 @@ void do_add_null_comparison_to_query(Query &query, const Schema &schema, const O
|
|||
do_add_null_comparison_to_query<Link>(query, cmp.op, expr, args);
|
||||
break;
|
||||
case realm::PropertyType::Array:
|
||||
throw std::runtime_error((std::string)"Comparing Lists to 'null' is not supported");
|
||||
break;
|
||||
throw std::runtime_error("Comparing Lists to 'null' is not supported");
|
||||
default: {
|
||||
throw std::runtime_error((std::string)"Object type " + string_for_property_type(type) + " not supported");
|
||||
throw std::runtime_error(std::string("Object type ") + string_for_property_type(type) + " not supported");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ Realm::Realm(Config config)
|
|||
}
|
||||
}
|
||||
|
||||
void Realm::open_with_config(Config& config,
|
||||
void Realm::open_with_config(const Config& config,
|
||||
std::unique_ptr<Replication>& history,
|
||||
std::unique_ptr<SharedGroup>& shared_group,
|
||||
std::unique_ptr<Group>& read_only_group,
|
||||
|
|
|
@ -158,7 +158,7 @@ namespace realm {
|
|||
static _impl::RealmCoordinator& get_coordinator(Realm& realm) { return *realm.m_coordinator; }
|
||||
};
|
||||
|
||||
static void open_with_config(Config& config,
|
||||
static void open_with_config(const Config& config,
|
||||
std::unique_ptr<Replication>& history,
|
||||
std::unique_ptr<SharedGroup>& shared_group,
|
||||
std::unique_ptr<Group>& read_only_group,
|
||||
|
|
Loading…
Reference in New Issue