diff OrthancServer/LuaScripting.h @ 2617:912a767911b0 jobs

back to a single Lua context
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 22 May 2018 12:45:34 +0200
parents 2f3007bf0708
children ef5b45884972
line wrap: on
line diff
--- a/OrthancServer/LuaScripting.h	Tue May 22 12:25:37 2018 +0200
+++ b/OrthancServer/LuaScripting.h	Tue May 22 12:45:34 2018 +0200
@@ -88,7 +88,7 @@
       boost::mutex::scoped_lock  lock_;
 
     public:
-      Lock(LuaScripting& that) : 
+      explicit Lock(LuaScripting& that) : 
         that_(that), 
         lock_(that.mutex_)
       {