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:52:53 +0300
committerSybren A. Stüvel <sybren@blender.org>2021-09-23 18:58:20 +0300
commit942fc9f467c104150a474eb61a82957b5c9715f7 (patch)
treed4bb6f6abc2474c2fe9006db1574e2c67bd64a2e /source/blender/blenlib
parent93997f9d0a44a83105537e130abc3b80fd5b9fc9 (diff)
Cleanup: bUUID, document the constructors
No functional changes.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/BLI_uuid.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_uuid.h b/source/blender/blenlib/BLI_uuid.h
index 592ac3d4607..72d95b41329 100644
--- a/source/blender/blenlib/BLI_uuid.h
+++ b/source/blender/blenlib/BLI_uuid.h
@@ -78,7 +78,10 @@ namespace blender::bke {
class bUUID : public ::bUUID {
public:
bUUID() = default;
+ /** Initialise from the bUUID DNA struct. */
bUUID(const ::bUUID &struct_uuid);
+
+ /** Initialise by parsing the string; undefined behaviour when the string is invalid. */
explicit bUUID(const std::string &string_formatted_uuid);
uint64_t hash() const;