]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/ole/uuid.h
Avoid CRT deprecation warnings for MSVC build using makefiles too.
[wxWidgets.git] / include / wx / msw / ole / uuid.h
index 4cd02c9d89d8fe6a82f4ea72ba7ec1fd2147b4ca..1b31d7373c61b64411f285666e74f208ac4e29f4 100644 (file)
@@ -1,5 +1,5 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        ole/uuid.h
+// Name:        wx/msw/ole/uuid.h
 // Purpose:     encapsulates an UUID with some added helper functions
 // Author:      Vadim Zeitlin
 // Modified by:
@@ -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;               }