Fixed C++ operators return value.

This commit is contained in:
Ove Kaaven 2000-08-11 00:39:26 +00:00 committed by Alexandre Julliard
parent 9723498034
commit ccb257acb5
1 changed files with 2 additions and 2 deletions

View File

@ -52,11 +52,11 @@ typedef GUID FMTID,*LPFMTID;
#define IsEqualCLSID(rclsid1, rclsid2) IsEqualGUID(rclsid1, rclsid2)
#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));
}
inline BOOL operator!=(const GUID& guidOne, const GUID& guidOther)
inline bool operator!=(const GUID& guidOne, const GUID& guidOther)
{
return !(guidOne == guidOther);
}