diff OrthancServer/ServerIndex.cpp @ 739:696dbb4fd390

api uniformization
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 19 Mar 2014 09:58:20 +0100
parents 6a1dbba0cca7
children ec69658b031b
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.cpp	Fri Mar 14 11:28:59 2014 +0100
+++ b/OrthancServer/ServerIndex.cpp	Wed Mar 19 09:58:20 2014 +0100
@@ -1238,7 +1238,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 +1250,7 @@
       throw OrthancException(ErrorCode_UnknownResource);
     }
 
-    return db_->ListAvailableMetadata(target, id);
+    db_->ListAvailableMetadata(target, id);
   }