diff --git a/example-app/examplescene.cpp b/example-app/examplescene.cpp index d4d8deb..3d436e2 100644 --- a/example-app/examplescene.cpp +++ b/example-app/examplescene.cpp @@ -17,7 +17,7 @@ ExampleScene::ExampleScene(Qtk::Scene * scene) : Qtk::SceneInterface(scene) { getCamera().getTransform().setRotation(-5.0f, 0.0f, 1.0f, 0.0f); } -ExampleScene::~ExampleScene() {} +ExampleScene::~ExampleScene() = default; void ExampleScene::init() { auto skybox = new Qtk::Skybox("Skybox"); diff --git a/example-app/examplescene.h b/example-app/examplescene.h index 8d2b1e9..e218341 100644 --- a/example-app/examplescene.h +++ b/example-app/examplescene.h @@ -13,7 +13,7 @@ class ExampleScene : public Qtk::SceneInterface { public: - ExampleScene(Qtk::Scene * scene); + explicit ExampleScene(Qtk::Scene * scene); ~ExampleScene();