Fix some warnings when building with GCC 4.9

This commit is contained in:
Thomas Goyne 2015-12-03 09:11:28 -08:00
parent 473028c153
commit 5028c4a582
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
namespace realm { namespace realm {
class List { class List {
public: public:
List(SharedRealm &r, const ObjectSchema &s, LinkViewRef l) : m_realm(r), object_schema(s), m_link_view(l) {} List(SharedRealm &r, const ObjectSchema &s, LinkViewRef l) : object_schema(s), m_realm(r), m_link_view(l) {}
const ObjectSchema &object_schema; const ObjectSchema &object_schema;
SharedRealm realm() { return m_realm; } SharedRealm realm() { return m_realm; }