pr feedback

This commit is contained in:
Ari Lazier 2015-12-18 14:37:41 -08:00
parent df9468f8d0
commit a73229758d
1 changed files with 2 additions and 2 deletions

View File

@ -41,9 +41,9 @@ Results::Results(SharedRealm r, const ObjectSchema &o, Table& table)
Results& Results::operator=(Results const& r)
{
m_realm = r.m_realm;
m_query = r.get_query();
m_table = r.m_table;
m_sort = r.get_sort();
m_sort = r.m_sort;
m_query = r.get_query();
m_mode = Mode::Query;
const_cast<ObjectSchema &>(object_schema) = r.object_schema;
return *this;