mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-11 14:54:33 +00:00
Move List
s defaulted constructors and assignment operators out of line.
This commit is contained in:
parent
65a748de0c
commit
2a75edde8e
@ -32,6 +32,11 @@ using namespace realm::_impl;
|
||||
List::List() noexcept = default;
|
||||
List::~List() = default;
|
||||
|
||||
List::List(const List&) = default;
|
||||
List& List::operator=(const List&) = default;
|
||||
List::List(List&&) = default;
|
||||
List& List::operator=(List&&) = default;
|
||||
|
||||
List::List(std::shared_ptr<Realm> r, const ObjectSchema& s, LinkViewRef l) noexcept
|
||||
: m_realm(std::move(r))
|
||||
, m_object_schema(&s)
|
||||
|
@ -47,10 +47,10 @@ public:
|
||||
List(std::shared_ptr<Realm> r, const ObjectSchema& s, LinkViewRef l) noexcept;
|
||||
~List();
|
||||
|
||||
List(const List&) = default;
|
||||
List& operator=(const List&) = default;
|
||||
List(List&&) = default;
|
||||
List& operator=(List&&) = default;
|
||||
List(const List&);
|
||||
List& operator=(const List&);
|
||||
List(List&&);
|
||||
List& operator=(List&&);
|
||||
|
||||
const std::shared_ptr<Realm>& get_realm() const { return m_realm; }
|
||||
Query get_query() const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user