mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 22:18:54 +01:00
test: Fix Wambiguous-reversed-operator compiler warnings
This commit is contained in:
@@ -38,13 +38,13 @@ public:
|
||||
READWRITE(obj.txval);
|
||||
}
|
||||
|
||||
bool operator==(const CSerializeMethodsTestSingle& rhs)
|
||||
bool operator==(const CSerializeMethodsTestSingle& rhs) const
|
||||
{
|
||||
return intval == rhs.intval && \
|
||||
boolval == rhs.boolval && \
|
||||
stringval == rhs.stringval && \
|
||||
strcmp(charstrval, rhs.charstrval) == 0 && \
|
||||
*txval == *rhs.txval;
|
||||
return intval == rhs.intval &&
|
||||
boolval == rhs.boolval &&
|
||||
stringval == rhs.stringval &&
|
||||
strcmp(charstrval, rhs.charstrval) == 0 &&
|
||||
*txval == *rhs.txval;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user