From 1ad0426025ac115369457a98c469ea192867ad72 Mon Sep 17 00:00:00 2001 From: Tobias Frisch <tfrisch@uni-koblenz.de> Date: Thu, 12 May 2022 00:19:46 +0200 Subject: [PATCH] Make constructors for upscaling explicit Signed-off-by: Tobias Frisch <tfrisch@uni-koblenz.de> --- modules/upscaling/include/vkcv/upscaling/BilinearUpscaling.hpp | 2 +- modules/upscaling/include/vkcv/upscaling/Upscaling.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/upscaling/include/vkcv/upscaling/BilinearUpscaling.hpp b/modules/upscaling/include/vkcv/upscaling/BilinearUpscaling.hpp index 52124dc8..522b9f7e 100644 --- a/modules/upscaling/include/vkcv/upscaling/BilinearUpscaling.hpp +++ b/modules/upscaling/include/vkcv/upscaling/BilinearUpscaling.hpp @@ -7,7 +7,7 @@ namespace vkcv::upscaling { class BilinearUpscaling : public Upscaling { private: public: - BilinearUpscaling(Core& core); + explicit BilinearUpscaling(Core& core); void recordUpscaling(const CommandStreamHandle& cmdStream, const ImageHandle& input, diff --git a/modules/upscaling/include/vkcv/upscaling/Upscaling.hpp b/modules/upscaling/include/vkcv/upscaling/Upscaling.hpp index c44e878a..da6d5426 100644 --- a/modules/upscaling/include/vkcv/upscaling/Upscaling.hpp +++ b/modules/upscaling/include/vkcv/upscaling/Upscaling.hpp @@ -10,7 +10,7 @@ namespace vkcv::upscaling { Core& m_core; public: - Upscaling(Core& core); + explicit Upscaling(Core& core); ~Upscaling() = default; -- GitLab