Move Realm::Config's default constructor out-of-line

Removes the need for things including shared_realm.hpp to include schema.hpp.
This commit is contained in:
Thomas Goyne 2015-06-28 15:30:56 -07:00 committed by Ari Lazier
parent 028ed2a4c2
commit a492966949
2 changed files with 4 additions and 2 deletions

View File

@ -47,6 +47,8 @@ Realm::Config::Config(const Config& c)
} }
} }
Realm::Config::Config() = default;
Realm::Config::Config(Config&&) = default;
Realm::Config::~Config() = default; Realm::Config::~Config() = default;
Realm::Config& Realm::Config::operator=(realm::Realm::Config const& c) Realm::Config& Realm::Config::operator=(realm::Realm::Config const& c)

View File

@ -56,8 +56,8 @@ namespace realm {
MigrationFunction migration_function; MigrationFunction migration_function;
Config() = default; Config();
Config(Config&&) = default; Config(Config&&);
Config(const Config& c); Config(const Config& c);
~Config(); ~Config();