changeset 1296:179a3049b942

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 06 Feb 2015 14:23:14 +0100
parents 50632b89e294
children 501432928727
files Plugins/Engine/OrthancPlugins.cpp
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.cpp	Fri Feb 06 14:09:55 2015 +0100
+++ b/Plugins/Engine/OrthancPlugins.cpp	Fri Feb 06 14:23:14 2015 +0100
@@ -1175,7 +1175,7 @@
       {
         if (buffer != NULL)
         {
-          params_.free_(buffer);
+          params_.free(buffer);
         }
       }
 
@@ -1204,7 +1204,7 @@
                           size_t size,
                           FileContentType type)
       {
-        if (params_.create_(uuid.c_str(), content, size, Convert(type)) != 0)
+        if (params_.create(uuid.c_str(), content, size, Convert(type)) != 0)
         {
           throw OrthancException(ErrorCode_Plugin);
         }
@@ -1217,7 +1217,7 @@
         void* buffer = NULL;
         int64_t size = 0;
 
-        if (params_.read_(&buffer, &size, uuid.c_str(), Convert(type)) != 0)
+        if (params_.read(&buffer, &size, uuid.c_str(), Convert(type)) != 0)
         {
           throw OrthancException(ErrorCode_Plugin);
         }        
@@ -1243,7 +1243,7 @@
       virtual void Remove(const std::string& uuid,
                           FileContentType type) 
       {
-        if (params_.remove_(uuid.c_str(), Convert(type)) != 0)
+        if (params_.remove(uuid.c_str(), Convert(type)) != 0)
         {
           throw OrthancException(ErrorCode_Plugin);
         }