From 50c7b6245ff5ebd3578619fc962d53cb0d730095 Mon Sep 17 00:00:00 2001 From: Ari Lazier Date: Thu, 19 May 2016 14:06:14 -0700 Subject: [PATCH] make unique ptr manually --- src/results.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/results.cpp b/src/results.cpp index f8682b10..df4679a2 100644 --- a/src/results.cpp +++ b/src/results.cpp @@ -419,7 +419,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::unique_ptr)std::make_unique(m_table_view)); + return Query(*m_table, std::unique_ptr(new TableView(m_table_view))); } case Mode::LinkView: return m_table->where(m_link_view);