diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-09-23 18:22:17 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-09-23 18:58:20 +0300 |
commit | 105115da9f601c53d87cdc038f795f00f56a3495 (patch) | |
tree | c0b8c200f485ed604c58c88f21b4fdfb1d723482 /source/blender/blenlib/BLI_uuid.h | |
parent | bd63944a739b4dcd49e8a65294ffb1b8a0a7b20b (diff) |
UUID: add `!=` operator for comparing UUIDs
Make it possible to unit test with `EXPECT_NE(uuid1, uuid2)`.
Diffstat (limited to 'source/blender/blenlib/BLI_uuid.h')
-rw-r--r-- | source/blender/blenlib/BLI_uuid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_uuid.h b/source/blender/blenlib/BLI_uuid.h index d21ccd450cc..111a3d1eac3 100644 --- a/source/blender/blenlib/BLI_uuid.h +++ b/source/blender/blenlib/BLI_uuid.h @@ -93,6 +93,7 @@ class bUUID : public ::bUUID { }; bool operator==(bUUID uuid1, bUUID uuid2); +bool operator!=(bUUID uuid1, bUUID uuid2); } // namespace blender |