changeset 4224:38d446c9ee1d

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 30 Sep 2020 17:59:09 +0200
parents 3d6f14a05db1
children 81f2d1484886
files OrthancFramework/Sources/DicomFormat/DicomStreamReader.h OrthancFramework/Sources/DicomFormat/StreamBlockReader.h
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomFormat/DicomStreamReader.h	Wed Sep 30 16:25:48 2020 +0200
+++ b/OrthancFramework/Sources/DicomFormat/DicomStreamReader.h	Wed Sep 30 17:59:09 2020 +0200
@@ -36,7 +36,7 @@
    * doesn't give access to the pixel data of compressed transfer
    * syntaxes.
    **/
-  class DicomStreamReader : public boost::noncopyable
+  class ORTHANC_PUBLIC DicomStreamReader : public boost::noncopyable
   {
   public:
     class IVisitor : public boost::noncopyable
--- a/OrthancFramework/Sources/DicomFormat/StreamBlockReader.h	Wed Sep 30 16:25:48 2020 +0200
+++ b/OrthancFramework/Sources/DicomFormat/StreamBlockReader.h	Wed Sep 30 17:59:09 2020 +0200
@@ -22,6 +22,8 @@
 
 #pragma once
 
+#include "../OrthancFramework.h"  // For ORTHANC_PUBLIC
+
 #include <boost/noncopyable.hpp>
 #include <istream>
 #include <string>
@@ -34,7 +36,7 @@
    * stream. Bytes from the stream are buffered until the requested
    * size is available, and the full block can be returned.
    **/
-  class StreamBlockReader : public boost::noncopyable
+  class ORTHANC_PUBLIC StreamBlockReader : public boost::noncopyable
   {
   private:
     std::istream&  stream_;