summaryrefslogtreecommitdiff
path: root/source/l/imagemagick/ImageMagick.fix.overloading.error.diff
blob: 0306390fd3e1dda262dd44d21026e4ee9e5edb47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- ./Magick++/lib/Magick++/Color.h.orig	2018-08-28 07:31:12.000000000 -0500
+++ ./Magick++/lib/Magick++/Color.h	2018-09-20 21:57:14.555014712 -0500
@@ -122,11 +122,12 @@
     {
       return (static_cast<double>(quantum_)/QuantumRange);
     }
-#endif
+#else
     static double scaleQuantumToDouble(const double quantum_)
     {
       return (quantum_/QuantumRange);
     }
+#endif
 
   protected: