diff Core/Images/PngWriter.cpp @ 2407:5edec967055e

fix sandboxed builds
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 Sep 2017 17:02:27 +0200
parents a3a65de1840f
children 878b59270859
line wrap: on
line diff
--- a/Core/Images/PngWriter.cpp	Wed Sep 20 16:28:27 2017 +0200
+++ b/Core/Images/PngWriter.cpp	Wed Sep 20 17:02:27 2017 +0200
@@ -248,6 +248,7 @@
 
 
 
+#if ORTHANC_SANDBOXED == 0
   void PngWriter::WriteToMemoryInternal(std::string& png,
                                         unsigned int width,
                                         unsigned int height,
@@ -271,4 +272,5 @@
 
     chunks.Flatten(png);
   }
+#endif
 }