Move the PropertyOwner name specification into the constructor and adjust accordingly

This commit is contained in:
Alexander Bock
2017-03-02 18:23:39 -05:00
parent aba3536caa
commit 1689dc4047
27 changed files with 180 additions and 148 deletions
+3 -4
View File
@@ -74,10 +74,9 @@ std::unique_ptr<PlanetGeometry> PlanetGeometry::createFromDictionary(const ghoul
}
PlanetGeometry::PlanetGeometry()
: _parent(nullptr)
{
setName("PlanetGeometry");
}
: properties::PropertyOwner("PlanetGeometry")
, _parent(nullptr)
{}
PlanetGeometry::~PlanetGeometry() {}