diff OrthancStone/Sources/OpenGL/WebAssemblyOpenGLContext.h @ 1571:85e117739eca

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 21 Sep 2020 17:46:39 +0200
parents e731e62692a9
children 92fca2b3ba3d
line wrap: on
line diff
--- a/OrthancStone/Sources/OpenGL/WebAssemblyOpenGLContext.h	Mon Sep 21 14:50:26 2020 +0200
+++ b/OrthancStone/Sources/OpenGL/WebAssemblyOpenGLContext.h	Mon Sep 21 17:46:39 2020 +0200
@@ -54,7 +54,7 @@
       boost::shared_ptr<PImpl>  pimpl_;
 
     public:
-      WebAssemblyOpenGLContext(const std::string& canvasSelector);
+      explicit WebAssemblyOpenGLContext(const std::string& canvasSelector);
 
       virtual bool IsContextLost() ORTHANC_OVERRIDE;