diff Applications/Platforms/Sdl/SdlWindow.h @ 1804:5a872e69c74f

reorganization
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 May 2021 14:48:51 +0200
parents 9ac2a65d4172
children 3889ae96d2e9
line wrap: on
line diff
--- a/Applications/Platforms/Sdl/SdlWindow.h	Thu May 20 14:15:00 2021 +0200
+++ b/Applications/Platforms/Sdl/SdlWindow.h	Thu May 20 14:48:51 2021 +0200
@@ -24,6 +24,7 @@
 #if ORTHANC_ENABLE_SDL == 1
 
 #include <boost/noncopyable.hpp>
+#include <string>
 
 // Forward declaration of SDL type to avoid clashes with DCMTK headers
 // on "typedef Sint8", in "StoneInitialization.cpp"
@@ -41,7 +42,7 @@
     bool                 maximized_;
 
   public:
-    SdlWindow(const char* title,
+    SdlWindow(const std::string& title,
               unsigned int width,
               unsigned int height,
               bool enableOpenGl,