Remove unused Rotation constructor

This commit is contained in:
Alexander Bock
2022-04-06 01:12:50 +02:00
parent f4115f9bea
commit 21babb88c0
2 changed files with 1 additions and 8 deletions

View File

@@ -44,7 +44,7 @@ public:
static ghoul::mm_unique_ptr<Rotation> createFromDictionary(
const ghoul::Dictionary& dictionary);
Rotation(const ghoul::Dictionary& dictionary);
Rotation();
virtual ~Rotation() = default;
virtual bool initialize();
@@ -56,7 +56,6 @@ public:
static documentation::Documentation Documentation();
protected:
Rotation();
void requireUpdate();
private:

View File

@@ -66,12 +66,6 @@ ghoul::mm_unique_ptr<Rotation> Rotation::createFromDictionary(
Rotation::Rotation() : properties::PropertyOwner({ "Rotation" }) {}
// @TODO (abock, 2021-03-25) This constructor can probably die since it doesn't do any
// above the default constructor
Rotation::Rotation(const ghoul::Dictionary&)
: properties::PropertyOwner({ "Rotation" })
{}
void Rotation::requireUpdate() {
_needsUpdate = true;
}