changeset 2849:c67b5d80b758

fix build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 01 Oct 2018 13:05:07 +0200
parents dd3914a44b87
children 859e880ac9a8
files Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Plugins/Samples/Common/OrthancPluginCppWrapper.h
diffstat 2 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp	Mon Oct 01 11:35:01 2018 +0200
+++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp	Mon Oct 01 13:05:07 2018 +0200
@@ -231,9 +231,9 @@
     Check(OrthancPluginCreateDicom(context_, &buffer_, s.c_str(), NULL, flags));
   }
 
-  void MemoreyBuffer::CreateDicom(const Json::Value& tags,
-                   const OrthancPluginImage& pixelData,
-                   OrthancPluginCreateDicomFlags flags)
+  void MemoryBuffer::CreateDicom(const Json::Value& tags,
+                                 const OrthancImage& pixelData,
+                                 OrthancPluginCreateDicomFlags flags)
   {
     Clear();
 
--- a/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Mon Oct 01 11:35:01 2018 +0200
+++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Mon Oct 01 13:05:07 2018 +0200
@@ -79,7 +79,7 @@
                                 const char* url,
                                 const OrthancPluginHttpRequest* request);
 
-  class OrthancPluginImage;
+  class OrthancImage;
 
 
   class MemoryBuffer : public boost::noncopyable
@@ -361,7 +361,10 @@
     
     const void* GetBuffer();
 
-    const OrthancPluginImage* GetObject() const {return image_;}
+    const OrthancPluginImage* GetObject() const
+    {
+      return image_;
+    }
 
     void CompressPngImage(MemoryBuffer& target);