diff Core/DicomFormat/DicomValue.h @ 2905:ae20fccdd867

refactoring mime types
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 30 Oct 2018 11:55:23 +0100
parents da12ba232119
children 4e43e67f8ecf
line wrap: on
line diff
--- a/Core/DicomFormat/DicomValue.h	Tue Oct 30 10:46:17 2018 +0100
+++ b/Core/DicomFormat/DicomValue.h	Tue Oct 30 11:55:23 2018 +0100
@@ -33,8 +33,9 @@
 
 #pragma once
 
+#include "../Enumerations.h"
+
 #include <stdint.h>
-#include <string>
 #include <boost/noncopyable.hpp>
 #include <json/value.h>
 
@@ -92,7 +93,7 @@
 
     void FormatDataUriScheme(std::string& target) const
     {
-      FormatDataUriScheme(target, "application/octet-stream");
+      FormatDataUriScheme(target, MIME_BINARY);
     }
 #endif