make set_schema_version private

This commit is contained in:
Ari Lazier 2015-06-03 18:34:50 -07:00
parent 479179716d
commit 4b82701a9e
1 changed files with 3 additions and 4 deletions

View File

@ -31,10 +31,6 @@ namespace realm {
// get the last set schema version
static uint64_t get_schema_version(Group *group);
// set a new schema version
// FIXME - should be private (set through update_realm_with_schema)
static void set_schema_version(Group *group, uint64_t version);
// checks if a migration is required for a given schema version
static bool is_migration_required(realm::Group *group, uint64_t new_version);
@ -58,6 +54,9 @@ namespace realm {
static realm::TableRef table_for_object_type(Group *group, StringData object_type);
private:
// set a new schema version
static void set_schema_version(Group *group, uint64_t version);
// check if the realm already has all metadata tables
static bool has_metadata_tables(Group *group);