Mercurial > hg > orthanc
diff OrthancServer/ServerIndex.cpp @ 928:882833632b1f mac
integration mainline -> mac
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 16 Apr 2014 17:02:07 +0200 |
parents | ec69658b031b |
children | 67e6400fca03 401a9633e492 |
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.cpp Wed Apr 16 16:53:25 2014 +0200 +++ b/OrthancServer/ServerIndex.cpp Wed Apr 16 17:02:07 2014 +0200 @@ -255,6 +255,7 @@ try { + boost::mutex::scoped_lock lock(that->mutex_); std::string sleepString = that->db_->GetGlobalProperty(GlobalProperty_FlushSleep); sleep = boost::lexical_cast<unsigned int>(sleepString); } @@ -1238,7 +1239,7 @@ } - bool ServerIndex::ListAvailableMetadata(std::list<MetadataType>& target, + void ServerIndex::ListAvailableMetadata(std::list<MetadataType>& target, const std::string& publicId) { boost::mutex::scoped_lock lock(mutex_); @@ -1250,7 +1251,7 @@ throw OrthancException(ErrorCode_UnknownResource); } - return db_->ListAvailableMetadata(target, id); + db_->ListAvailableMetadata(target, id); }