Commit ccb257ac authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

Fixed C++ operators return value.

parent 97234980
...@@ -52,11 +52,11 @@ typedef GUID FMTID,*LPFMTID; ...@@ -52,11 +52,11 @@ typedef GUID FMTID,*LPFMTID;
#define IsEqualCLSID(rclsid1, rclsid2) IsEqualGUID(rclsid1, rclsid2) #define IsEqualCLSID(rclsid1, rclsid2) IsEqualGUID(rclsid1, rclsid2)
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
inline BOOL operator==(const GUID& guidOne, const GUID& guidOther) inline bool operator==(const GUID& guidOne, const GUID& guidOther)
{ {
return !memcmp(&guidOne,&guidOther,sizeof(GUID)); return !memcmp(&guidOne,&guidOther,sizeof(GUID));
} }
inline BOOL operator!=(const GUID& guidOne, const GUID& guidOther) inline bool operator!=(const GUID& guidOne, const GUID& guidOther)
{ {
return !(guidOne == guidOther); return !(guidOne == guidOther);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment