Remove property.hpp include from object_schema.hpp
This commit is contained in:
parent
6b43c4ca31
commit
bf3d9bd452
|
@ -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();
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include <realm/group.hpp>
|
||||
|
||||
#include "object_schema.hpp"
|
||||
#include "property.hpp"
|
||||
|
||||
namespace realm {
|
||||
class ObjectSchemaValidationException;
|
||||
|
|
Loading…
Reference in New Issue