mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-17 09:06:26 +00:00
Eliminate a query copy in Results::filter()
This commit is contained in:
parent
5683fa1e58
commit
a8f1b235d7
@ -324,7 +324,7 @@ Results Results::sort(realm::SortOrder&& sort) const
|
||||
|
||||
Results Results::filter(Query&& q) const
|
||||
{
|
||||
return Results(m_realm, get_query().and_query(q), get_sort());
|
||||
return Results(m_realm, get_query().and_query(std::move(q)), get_sort());
|
||||
}
|
||||
|
||||
Results::UnsupportedColumnTypeException::UnsupportedColumnTypeException(size_t column, const Table* table) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user