# HG changeset patch # User Sebastien Jodogne # Date 1423228994 -3600 # Node ID 179a3049b94223f8f84c579d3012157ffab538b8 # Parent 50632b89e294596b9dfc0918217312a74cd03526 fix diff -r 50632b89e294 -r 179a3049b942 Plugins/Engine/OrthancPlugins.cpp --- 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); }