]> granicus.if.org Git - imagemagick/commitdiff
Build fixes.
authordirk <dirk@git.imagemagick.org>
Fri, 9 Jan 2015 23:26:21 +0000 (23:26 +0000)
committerdirk <dirk@git.imagemagick.org>
Fri, 9 Jan 2015 23:26:21 +0000 (23:26 +0000)
Magick++/lib/Magick++/STL.h
Magick++/lib/Thread.cpp

index 2168bfa363aad4f7220b5b610e6ecf76851fdae7..8c67aba2d3f61c0136a64c044e3d7b226398e1c3 100644 (file)
@@ -2323,7 +2323,7 @@ namespace Magick
     insertImages( fourierImages_, images );
 
     // Report any error
-    ThrowPPException(image_->quiet());
+    ThrowPPException(image_.quiet());
   }
   template <class Container >
   void forwardFourierTransformImage( Container *fourierImages_,
@@ -2342,7 +2342,7 @@ namespace Magick
     insertImages( fourierImages_, images );
 
     // Report any error
-    ThrowPPException(image_->quiet());
+    ThrowPPException(image_.quiet());
   }
 
   // Applies a mathematical expression to a sequence of images.
index aed0ae57838d6a399b89fbeb4bae8a05f2bcc4bc..47a383d62c904c36b34d6b6ae3c7fa4f4f9b3ec5 100644 (file)
@@ -32,7 +32,7 @@ Magick::MutexLock::MutexLock(void)
         ::pthread_mutexattr_destroy(&attr);
         return;
       }
-  throwExceptionExplicit(OptionError,"mutex initialization failed",
+  throwExceptionExplicit(MagickCore::OptionError,"mutex initialization failed",
     strerror(sysError));
 }
 #else
@@ -71,7 +71,7 @@ Magick::MutexLock::~MutexLock(void)
 
   if ((sysError=::pthread_mutex_destroy(&_mutex)) == 0)
     return;
-  throwExceptionExplicit(OptionError,"mutex destruction failed",
+  throwExceptionExplicit(MagickCore::OptionError,"mutex destruction failed",
     strerror(sysError));
 #endif
 #if defined(_MT) && defined(_VISUALC_)
@@ -90,7 +90,7 @@ void Magick::MutexLock::lock(void)
 
   if ((sysError=::pthread_mutex_lock(&_mutex)) == 0)
     return;
-  throwExceptionExplicit(OptionError,"mutex lock failed",
+  throwExceptionExplicit(MagickCore::OptionError,"mutex lock failed",
     strerror(sysError));
 #endif
 #if defined(_MT) && defined(_VISUALC_)
@@ -109,7 +109,7 @@ void Magick::MutexLock::unlock(void)
 
   if ((sysError=::pthread_mutex_unlock(&_mutex)) == 0)
     return;
-  throwExceptionExplicit(OptionError,"mutex unlock failed",
+  throwExceptionExplicit(MagickCore::OptionError,"mutex unlock failed",
     strerror(sysError));
 #endif
 #if defined(_MT) && defined(_VISUALC_)