Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2021-09-23 18:22:17 +0300
committerSybren A. Stüvel <sybren@blender.org>2021-09-23 18:58:20 +0300
commit105115da9f601c53d87cdc038f795f00f56a3495 (patch)
treec0b8c200f485ed604c58c88f21b4fdfb1d723482 /source/blender/blenlib/BLI_uuid.h
parentbd63944a739b4dcd49e8a65294ffb1b8a0a7b20b (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.h1
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