diff Samples/Sdl/SdlHelpers.h @ 1501:1e381f2596d3

fix warnings
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 30 Jun 2020 11:29:41 +0200
parents 15173a383a00
children
line wrap: on
line diff
--- a/Samples/Sdl/SdlHelpers.h	Tue Jun 30 10:29:10 2020 +0200
+++ b/Samples/Sdl/SdlHelpers.h	Tue Jun 30 11:29:41 2020 +0200
@@ -120,7 +120,8 @@
     p.SetShiftModifier( (modifiers & KeyboardModifiers_Shift) != 0);
   }
 
-  static boost::shared_ptr<OrthancStone::SdlViewport> GetSdlViewportFromWindowId(
+  
+  inline boost::shared_ptr<OrthancStone::SdlViewport> GetSdlViewportFromWindowId(
     const std::vector<boost::shared_ptr<OrthancStone::SdlViewport> >& viewports,
     Uint32 windowID)
   {