diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-09-23 18:52:53 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-09-23 18:58:20 +0300 |
commit | 942fc9f467c104150a474eb61a82957b5c9715f7 (patch) | |
tree | d4bb6f6abc2474c2fe9006db1574e2c67bd64a2e /source/blender/blenlib/BLI_uuid.h | |
parent | 93997f9d0a44a83105537e130abc3b80fd5b9fc9 (diff) |
Cleanup: bUUID, document the constructors
No functional changes.
Diffstat (limited to 'source/blender/blenlib/BLI_uuid.h')
-rw-r--r-- | source/blender/blenlib/BLI_uuid.h | 3 |
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; |