fix for android compilation
This commit is contained in:
parent
e438d8b586
commit
df716d3da1
|
@ -19,6 +19,7 @@
|
|||
#include "impl/collection_change_builder.hpp"
|
||||
|
||||
#include <realm/util/assert.hpp>
|
||||
#include <algorithm>
|
||||
|
||||
using namespace realm;
|
||||
using namespace realm::_impl;
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include <realm/string_data.hpp>
|
||||
|
||||
#include <unordered_map>
|
||||
#include <algorithm>
|
||||
|
||||
using namespace realm;
|
||||
using namespace realm::_impl;
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
#include <realm/group_shared.hpp>
|
||||
#include <realm/lang_bind_helper.hpp>
|
||||
#include <algorithm>
|
||||
|
||||
using namespace realm;
|
||||
|
||||
|
|
|
@ -411,7 +411,7 @@ Query Results::get_query() const
|
|||
// The TableView has no associated query so create one with no conditions that is restricted
|
||||
// to the rows in the TableView.
|
||||
m_table_view.sync_if_needed();
|
||||
return Query(*m_table, std::make_unique<TableView>(m_table_view));
|
||||
return Query(*m_table, (std::unique_ptr<TableViewBase>)std::make_unique<TableView>(m_table_view));
|
||||
}
|
||||
case Mode::LinkView:
|
||||
return m_table->where(m_link_view);
|
||||
|
|
Loading…
Reference in New Issue