diff Plugins/Engine/OrthancPlugins.cpp @ 1250:2ffe07abd9d8

removal of const on IStorageArea::Read()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 05 Jan 2015 11:14:58 +0100
parents 40725595aaf0
children d6a65dc6d0ac
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.cpp	Mon Dec 15 10:20:33 2014 +0100
+++ b/Plugins/Engine/OrthancPlugins.cpp	Mon Jan 05 11:14:58 2015 +0100
@@ -1124,7 +1124,7 @@
 
       virtual void Read(std::string& content,
                         const std::string& uuid,
-                        FileContentType type) const
+                        FileContentType type)
       {
         void* buffer = NULL;
         int64_t size = 0;
@@ -1171,7 +1171,7 @@
       throw OrthancException(ErrorCode_BadSequenceOfCalls);
     }
 
-    return new PluginStorageArea(pimpl_->storageArea_);;
+    return new PluginStorageArea(pimpl_->storageArea_);
   }