mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 16:44:10 +00:00
Fixed C++ operators return value.
This commit is contained in:
parent
9723498034
commit
ccb257acb5
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue