Remove property.hpp include from object_schema.hpp

This commit is contained in:
Thomas Goyne 2015-08-26 14:53:39 -07:00 committed by Ari Lazier
parent 6b43c4ca31
commit bf3d9bd452
3 changed files with 8 additions and 3 deletions

View File

@ -17,13 +17,17 @@
////////////////////////////////////////////////////////////////////////////
#include "object_schema.hpp"
#include "object_store.hpp"
#include "property.hpp"
#include <realm/group_shared.hpp>
#include <realm/link_view.hpp>
using namespace realm;
ObjectSchema::~ObjectSchema() = default;
ObjectSchema::ObjectSchema(Group *group, const std::string &name) : name(name) {
TableRef tableRef = ObjectStore::table_for_object_type(group, name);
Table *table = tableRef.get();

View File

@ -22,14 +22,14 @@
#include <string>
#include <vector>
#include "property.hpp"
namespace realm {
class Property;
class Group;
class ObjectSchema {
public:
ObjectSchema() {}
ObjectSchema() = default;
~ObjectSchema();
// create object schema from existing table
// if no table is provided it is looked up in the group

View File

@ -26,6 +26,7 @@
#include <realm/group.hpp>
#include "object_schema.hpp"
#include "property.hpp"
namespace realm {
class ObjectSchemaValidationException;