From 169bdb66480ea61c751429236e12b0bc71617cd6 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 26 Aug 2015 13:20:06 -0700 Subject: [PATCH] Use NSDMIs for realm::Property --- property.hpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/property.hpp b/property.hpp index 22e6f90c..893f772d 100644 --- a/property.hpp +++ b/property.hpp @@ -46,15 +46,12 @@ namespace realm { }; struct Property { - public: - Property() : object_type(""), is_primary(false), is_indexed(false), is_nullable(false) {} - std::string name; PropertyType type; std::string object_type; - bool is_primary; - bool is_indexed; - bool is_nullable; + bool is_primary = false; + bool is_indexed = false; + bool is_nullable = false; size_t table_column; bool requires_index() { return is_primary || is_indexed; }