]> git.saurik.com Git - wxWidgets.git/commitdiff
implement operator!=() inline (forgot to commit before)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 30 Aug 2008 16:30:03 +0000 (16:30 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 30 Aug 2008 16:30:03 +0000 (16:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/ole/uuid.h

index 4cd02c9d89d8fe6a82f4ea72ba7ec1fd2147b4ca..ef82be0371e1fded02615b3fa8650970f923ebd2 100644 (file)
@@ -76,7 +76,7 @@ public:
 
   // comparison operators
   bool operator==(const Uuid& uuid) const;
-  bool operator!=(const Uuid& uuid) const;
+  bool operator!=(const Uuid& uuid) const { return !(*this == uuid); }
 
   // accessors
   operator const UUID*()   const { return &m_uuid;               }