diff Core/DicomFormat/DicomValue.cpp @ 1761:f4286d99ee0a db-changes

fix sample database plugin
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 29 Oct 2015 11:22:48 +0100
parents 15a788a63846
children b1291df2f780
line wrap: on
line diff
--- a/Core/DicomFormat/DicomValue.cpp	Thu Oct 29 11:09:00 2015 +0100
+++ b/Core/DicomFormat/DicomValue.cpp	Thu Oct 29 11:22:48 2015 +0100
@@ -81,10 +81,13 @@
   }
 
   
+#if !defined(ORTHANC_ENABLE_BASE64) || ORTHANC_ENABLE_BASE64 == 1
   void DicomValue::FormatDataUriScheme(std::string& target,
                                        const std::string& mime) const
   {
     Toolbox::EncodeBase64(target, GetContent());
     target.insert(0, "data:" + mime + ";base64,");
   }
+#endif
+
 }