From 2f87fd5fbea918b2722532c7d761f88f505d9da7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 13 Nov 2013 19:50:53 +0100 Subject: [PATCH] Platform: make all constructors implicitly explicit. --- src/Platform/ScreenedApplication.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Platform/ScreenedApplication.h b/src/Platform/ScreenedApplication.h index 3bc129f2d..51e25b0db 100644 --- a/src/Platform/ScreenedApplication.h +++ b/src/Platform/ScreenedApplication.h @@ -94,10 +94,10 @@ template class BasicScreenedApplication: public Application, public: /** @copydoc Sdl2Application::Sdl2Application(const Arguments, const Configuration&) */ - BasicScreenedApplication(const typename Application::Arguments& arguments, const typename Application::Configuration& configuration = Application::Configuration()): Application(arguments, configuration) {} + explicit BasicScreenedApplication(const typename Application::Arguments& arguments, const typename Application::Configuration& configuration = Application::Configuration()): Application(arguments, configuration) {} /** @copydoc Sdl2Application::Sdl2Application(const Arguments&, std::nullptr_t) */ - BasicScreenedApplication(const typename Application::Arguments& arguments, std::nullptr_t): Application(arguments, nullptr) {} + explicit BasicScreenedApplication(const typename Application::Arguments& arguments, std::nullptr_t): Application(arguments, nullptr) {} /** * @brief Add screen to application