From df716d3da15dcb90364b6f3b402a0edcc31a9799 Mon Sep 17 00:00:00 2001 From: Ari Lazier Date: Fri, 13 May 2016 18:45:42 -0700 Subject: [PATCH] fix for android compilation --- src/impl/collection_change_builder.cpp | 1 + src/impl/realm_coordinator.cpp | 1 + src/impl/transact_log_handler.cpp | 1 + src/results.cpp | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/impl/collection_change_builder.cpp b/src/impl/collection_change_builder.cpp index da0ff5ab..731e07ad 100644 --- a/src/impl/collection_change_builder.cpp +++ b/src/impl/collection_change_builder.cpp @@ -19,6 +19,7 @@ #include "impl/collection_change_builder.hpp" #include +#include using namespace realm; using namespace realm::_impl; diff --git a/src/impl/realm_coordinator.cpp b/src/impl/realm_coordinator.cpp index 86b118a8..df53a2ce 100644 --- a/src/impl/realm_coordinator.cpp +++ b/src/impl/realm_coordinator.cpp @@ -31,6 +31,7 @@ #include #include +#include using namespace realm; using namespace realm::_impl; diff --git a/src/impl/transact_log_handler.cpp b/src/impl/transact_log_handler.cpp index e0880bee..85d44bd6 100644 --- a/src/impl/transact_log_handler.cpp +++ b/src/impl/transact_log_handler.cpp @@ -24,6 +24,7 @@ #include #include +#include using namespace realm; diff --git a/src/results.cpp b/src/results.cpp index 39621e8d..f2961337 100644 --- a/src/results.cpp +++ b/src/results.cpp @@ -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(m_table_view)); + return Query(*m_table, (std::unique_ptr)std::make_unique(m_table_view)); } case Mode::LinkView: return m_table->where(m_link_view);