Mercurial > hg > orthanc
comparison Plugins/Engine/OrthancPlugins.cpp @ 2836:7133ad478eea
fix Debian warnings
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 20 Sep 2018 16:17:46 +0200 |
parents | d4fd4614f275 |
children | 9d277f8ad698 |
comparison
equal
deleted
inserted
replaced
2831:b51233f03e7e | 2836:7133ad478eea |
---|---|
391 }; | 391 }; |
392 | 392 |
393 | 393 |
394 void SetServerContext(ServerContext* context) | 394 void SetServerContext(ServerContext* context) |
395 { | 395 { |
396 boost::mutex::scoped_lock(contextMutex_); | 396 boost::mutex::scoped_lock lock(contextMutex_); |
397 context_ = context; | 397 context_ = context; |
398 } | 398 } |
399 | 399 |
400 | 400 |
401 typedef std::pair<std::string, _OrthancPluginProperty> Property; | 401 typedef std::pair<std::string, _OrthancPluginProperty> Property; |