]> granicus.if.org Git - imagemagick/commitdiff
Removed compare methods.
authordirk <dirk@git.imagemagick.org>
Mon, 15 Aug 2016 11:07:03 +0000 (13:07 +0200)
committerdirk <dirk@git.imagemagick.org>
Mon, 15 Aug 2016 11:07:03 +0000 (13:07 +0200)
Magick++/lib/Drawable.cpp
Magick++/lib/Magick++/Drawable.h

index d9eb12fa8c8e6c401384a59d18f3a3f48d32f7b6..e1d47268017d92fd88aad2d4edba0c7439652b65 100644 (file)
@@ -170,37 +170,6 @@ void Magick::VPath::operator()( MagickCore::DrawingWand * context_ ) const
     dp->operator()( context_ );
 }
 
-MagickPPExport int Magick::operator == ( const Magick::VPath& /*left_*/,
-                                        const Magick::VPath& /*right_*/ )
-{
-  return ( 1 );
-}
-MagickPPExport int Magick::operator != ( const Magick::VPath& /*left_*/,
-                                        const Magick::VPath& /*right_*/ )
-{
-  return ( 0 );
-}
-MagickPPExport int Magick::operator > ( const Magick::VPath& /*left_*/,
-                                       const Magick::VPath& /*right_*/ )
-{
-  return ( 0 );
-}
-MagickPPExport int Magick::operator <  ( const Magick::VPath& /*left_*/,
-                                        const Magick::VPath& /*right_*/ )
-{
-  return  ( 0 );
-}
-MagickPPExport int Magick::operator >= ( const Magick::VPath& left_,
-                                        const Magick::VPath& right_ )
-{
-  return ( ( left_ > right_ ) || ( left_ == right_ ) );
-}
-MagickPPExport int Magick::operator <= ( const Magick::VPath& left_,
-                                        const Magick::VPath& right_ )
-{
-  return ( ( left_ < right_ ) || ( left_ == right_ ) );
-}
-
 //
 // Drawable Objects
 //
index 16934522d819786f7a9800679f1dd5a289221ba2..7bd529cc4a63d3f2658de4961aeabf47d95d4daa 100644 (file)
@@ -205,20 +205,6 @@ private:
   VPathBase* dp;
 };
 
-// Compare two VPath objects regardless of LHS/RHS
-extern MagickPPExport int operator == ( const VPath& left_,
-                                      const VPath& right_ );
-extern MagickPPExport int operator != ( const VPath& left_,
-                                      const VPath& right_ );
-extern MagickPPExport int operator >  ( const VPath& left_,
-                                      const VPath& right_ );
-extern MagickPPExport int operator <  ( const VPath& left_,
-                                      const VPath& right_ );
-extern MagickPPExport int operator >= ( const VPath& left_,
-                                      const VPath& right_ );
-extern MagickPPExport int operator <= ( const VPath& left_,
-                                      const VPath& right_ );
-
 typedef std::vector<Magick::VPath> VPathList;
 
 #if defined(MagickDLLExplicitTemplate)