Remove extraneous semicolons
This commit is contained in:
parent
2ce0e2e37f
commit
32b05314f5
|
@ -143,7 +143,7 @@ namespace realm {
|
||||||
"Setting invalid property '" + prop_name + "' on object '" + m_object_schema->name + "'.");
|
"Setting invalid property '" + prop_name + "' on object '" + m_object_schema->name + "'.");
|
||||||
}
|
}
|
||||||
set_property_value_impl(ctx, *prop, value, try_update);
|
set_property_value_impl(ctx, *prop, value, try_update);
|
||||||
};
|
}
|
||||||
|
|
||||||
template <typename ValueType, typename ContextType>
|
template <typename ValueType, typename ContextType>
|
||||||
inline ValueType Object::get_property_value(ContextType ctx, std::string prop_name)
|
inline ValueType Object::get_property_value(ContextType ctx, std::string prop_name)
|
||||||
|
@ -154,7 +154,7 @@ namespace realm {
|
||||||
"Getting invalid property '" + prop_name + "' on object '" + m_object_schema->name + "'.");
|
"Getting invalid property '" + prop_name + "' on object '" + m_object_schema->name + "'.");
|
||||||
}
|
}
|
||||||
return get_property_value_impl<ValueType>(ctx, *prop);
|
return get_property_value_impl<ValueType>(ctx, *prop);
|
||||||
};
|
}
|
||||||
|
|
||||||
template <typename ValueType, typename ContextType>
|
template <typename ValueType, typename ContextType>
|
||||||
inline void Object::set_property_value_impl(ContextType ctx, const Property &property, ValueType value, bool try_update)
|
inline void Object::set_property_value_impl(ContextType ctx, const Property &property, ValueType value, bool try_update)
|
||||||
|
|
|
@ -50,7 +50,7 @@ class Arguments {
|
||||||
template<typename ValueType, typename ContextType>
|
template<typename ValueType, typename ContextType>
|
||||||
class ArgumentConverter : public Arguments {
|
class ArgumentConverter : public Arguments {
|
||||||
public:
|
public:
|
||||||
ArgumentConverter(ContextType context, std::vector<ValueType> arguments) : m_arguments(arguments), m_ctx(context) {};
|
ArgumentConverter(ContextType context, std::vector<ValueType> arguments) : m_arguments(arguments), m_ctx(context) {}
|
||||||
|
|
||||||
using Accessor = realm::NativeAccessor<ValueType, ContextType>;
|
using Accessor = realm::NativeAccessor<ValueType, ContextType>;
|
||||||
virtual bool bool_for_argument(size_t argument_index) { return Accessor::to_bool(m_ctx, argument_at(argument_index)); }
|
virtual bool bool_for_argument(size_t argument_index) { return Accessor::to_bool(m_ctx, argument_at(argument_index)); }
|
||||||
|
|
Loading…
Reference in New Issue