diff OrthancServer/OrthancRestApi/OrthancRestSystem.cpp @ 1433:461e7554bff7

refactoring: LuaScripting
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 30 Jun 2015 15:09:34 +0200
parents 4460e2622016
children f9cd40166269
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestSystem.cpp	Tue Jun 30 12:51:29 2015 +0200
+++ b/OrthancServer/OrthancRestApi/OrthancRestSystem.cpp	Tue Jun 30 15:09:34 2015 +0200
@@ -100,7 +100,7 @@
     ServerContext& context = OrthancRestApi::GetContext(call);
 
     {
-      ServerContext::LuaContextLocker locker(context);
+      LuaScripting::Locker locker(context.GetLua());
       locker.GetLua().Execute(result, call.GetPostBody());
     }