From 21a4e2543eaf9698e6418822e9203a9fd4924cc7 Mon Sep 17 00:00:00 2001 From: Ari Lazier Date: Fri, 4 Mar 2016 07:28:10 -0800 Subject: [PATCH] forward declare property --- src/object-store/src/object_schema.cpp | 1 - src/object-store/src/object_schema.hpp | 3 +-- src/object-store/src/object_store.hpp | 1 + src/object-store/src/schema.hpp | 1 + 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/object-store/src/object_schema.cpp b/src/object-store/src/object_schema.cpp index 3be3953f..65dc7e85 100644 --- a/src/object-store/src/object_schema.cpp +++ b/src/object-store/src/object_schema.cpp @@ -17,7 +17,6 @@ //////////////////////////////////////////////////////////////////////////// #include "object_schema.hpp" - #include "object_store.hpp" #include "property.hpp" diff --git a/src/object-store/src/object_schema.hpp b/src/object-store/src/object_schema.hpp index 058b83ff..4ab2abf1 100644 --- a/src/object-store/src/object_schema.hpp +++ b/src/object-store/src/object_schema.hpp @@ -19,8 +19,6 @@ #ifndef REALM_OBJECT_SCHEMA_HPP #define REALM_OBJECT_SCHEMA_HPP -#include "property.hpp" - #include #include @@ -28,6 +26,7 @@ namespace realm { class Group; + class Property; class ObjectSchema { public: diff --git a/src/object-store/src/object_store.hpp b/src/object-store/src/object_store.hpp index b5596ffc..d7c78ac0 100644 --- a/src/object-store/src/object_store.hpp +++ b/src/object-store/src/object_store.hpp @@ -20,6 +20,7 @@ #define REALM_OBJECT_STORE_HPP #include "schema.hpp" +#include "property.hpp" #include diff --git a/src/object-store/src/schema.hpp b/src/object-store/src/schema.hpp index 65a806ec..52c03975 100644 --- a/src/object-store/src/schema.hpp +++ b/src/object-store/src/schema.hpp @@ -20,6 +20,7 @@ #define REALM_SCHEMA_HPP #include "object_schema.hpp" +#include "property.hpp" #include #include