mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-21 10:48:23 +00:00
make unique ptr manually
This commit is contained in:
parent
7f5ca3cee7
commit
a81627b1d0
@ -419,7 +419,7 @@ Query Results::get_query() const
|
|||||||
// The TableView has no associated query so create one with no conditions that is restricted
|
// The TableView has no associated query so create one with no conditions that is restricted
|
||||||
// to the rows in the TableView.
|
// to the rows in the TableView.
|
||||||
m_table_view.sync_if_needed();
|
m_table_view.sync_if_needed();
|
||||||
return Query(*m_table, (std::unique_ptr<TableViewBase>)std::make_unique<TableView>(m_table_view));
|
return Query(*m_table, std::unique_ptr<TableViewBase>(new TableView(m_table_view)));
|
||||||
}
|
}
|
||||||
case Mode::LinkView:
|
case Mode::LinkView:
|
||||||
return m_table->where(m_link_view);
|
return m_table->where(m_link_view);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user