diff OrthancFramework/Sources/DicomFormat/DicomTag.cpp @ 4348:93c281752e7a

reintroduced backward ABI compatibility in Orthanc Framework .so for unit tests of Orthanc 1.7.2 to 1.8.0
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 06 Dec 2020 12:21:31 +0100
parents 91554aecff9a
children d9473bd5ed43
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomFormat/DicomTag.cpp	Sun Dec 06 11:42:39 2020 +0100
+++ b/OrthancFramework/Sources/DicomFormat/DicomTag.cpp	Sun Dec 06 12:21:31 2020 +0100
@@ -363,4 +363,13 @@
         throw OrthancException(ErrorCode_ParameterOutOfRange);
     }
   }
+
+
+#if ORTHANC_BUILDING_FRAMEWORK_LIBRARY == 1
+  std::ostream& operator<< (std::ostream& o, const DicomTag& tag)
+  {
+    tag.FormatStream(o);
+    return o;
+  }
+#endif
 }