From a73229758dfe0279a61fba07c6d7e9dcbcb3c866 Mon Sep 17 00:00:00 2001 From: Ari Lazier Date: Fri, 18 Dec 2015 14:37:41 -0800 Subject: [PATCH] pr feedback --- src/object-store/results.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/object-store/results.cpp b/src/object-store/results.cpp index 623b8c6b..b2a63789 100644 --- a/src/object-store/results.cpp +++ b/src/object-store/results.cpp @@ -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(object_schema) = r.object_schema; return *this;