From: dirk Date: Mon, 15 Aug 2016 11:07:03 +0000 (+0200) Subject: Removed compare methods. X-Git-Tag: 7.0.2-10~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3aaa659f44a684955058212e21585562eb21d288;p=imagemagick Removed compare methods. --- diff --git a/Magick++/lib/Drawable.cpp b/Magick++/lib/Drawable.cpp index d9eb12fa8..e1d472680 100644 --- a/Magick++/lib/Drawable.cpp +++ b/Magick++/lib/Drawable.cpp @@ -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 // diff --git a/Magick++/lib/Magick++/Drawable.h b/Magick++/lib/Magick++/Drawable.h index 16934522d..7bd529cc4 100644 --- a/Magick++/lib/Magick++/Drawable.h +++ b/Magick++/lib/Magick++/Drawable.h @@ -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 VPathList; #if defined(MagickDLLExplicitTemplate)