Make constructors explicit

This commit is contained in:
Alexander Bock
2025-02-05 23:22:32 +01:00
parent 4950c8d5bd
commit 096363fd06
212 changed files with 261 additions and 252 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ public:
/**
* Instantiate a new DebugRenderer with a custom shader program.
*/
DebugRenderer(std::unique_ptr<ghoul::opengl::ProgramObject> programObject);
explicit DebugRenderer(std::unique_ptr<ghoul::opengl::ProgramObject> programObject);
~DebugRenderer() = default;
/**
@@ -33,7 +33,7 @@ namespace openspace {
class ScreenSpaceDebugPlane : public ScreenSpaceRenderable {
public:
ScreenSpaceDebugPlane(const ghoul::Dictionary& dictionary);
explicit ScreenSpaceDebugPlane(const ghoul::Dictionary& dictionary);
static documentation::Documentation Documentation();