From 1e1c328a5ae12189507414b03053b02492d70fb4 Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Sat, 8 Mar 2025 09:27:39 -0500 Subject: [PATCH] clang-tidy example-app --- example-app/examplescene.cpp | 2 +- example-app/examplescene.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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();