From 21babb88c095be6b238e049b56d3b6f7c7ee765b Mon Sep 17 00:00:00 2001 From: Alexander Bock Date: Wed, 6 Apr 2022 01:12:50 +0200 Subject: [PATCH] Remove unused Rotation constructor --- include/openspace/scene/rotation.h | 3 +-- src/scene/rotation.cpp | 6 ------ 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/include/openspace/scene/rotation.h b/include/openspace/scene/rotation.h index 535474a559..33fc29dd24 100644 --- a/include/openspace/scene/rotation.h +++ b/include/openspace/scene/rotation.h @@ -44,7 +44,7 @@ public: static ghoul::mm_unique_ptr 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: diff --git a/src/scene/rotation.cpp b/src/scene/rotation.cpp index 0ba7840f0f..9a3cdf3acb 100644 --- a/src/scene/rotation.cpp +++ b/src/scene/rotation.cpp @@ -66,12 +66,6 @@ ghoul::mm_unique_ptr 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; }