UUID: add != operator for comparing UUIDs
Make it possible to unit test with `EXPECT_NE(uuid1, uuid2)`.
This commit is contained in:
@@ -184,4 +184,9 @@ bool operator==(const bUUID uuid1, const bUUID uuid2)
|
||||
return BLI_uuid_equal(uuid1, uuid2);
|
||||
}
|
||||
|
||||
bool operator!=(const bUUID uuid1, const bUUID uuid2)
|
||||
{
|
||||
return !(uuid1 == uuid2);
|
||||
}
|
||||
|
||||
} // namespace blender
|
||||
|
||||
Reference in New Issue
Block a user