Inline method in hpp to remove duplicate definitions

This commit is contained in:
James Stone 2018-03-12 10:48:57 -07:00
parent b10fddb722
commit 187c4354f1

View File

@ -152,7 +152,7 @@ typename T::Object ResultsClass<T>::create_instance(ContextType ctx, SharedRealm
return create_object<T, ResultsClass<T>>(ctx, new realm::js::Results<T>(realm, *table)); return create_object<T, ResultsClass<T>>(ctx, new realm::js::Results<T>(realm, *table));
} }
void alias_backlinks(parser::KeyPathMapping &mapping, const realm::SharedRealm &realm) inline void alias_backlinks(parser::KeyPathMapping &mapping, const realm::SharedRealm &realm)
{ {
const realm::Schema &schema = realm->schema(); const realm::Schema &schema = realm->schema();
for (auto it = schema.begin(); it != schema.end(); ++it) { for (auto it = schema.begin(); it != schema.end(); ++it) {