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 19:22:47 +0300
committerSybren A. Stüvel <sybren@blender.org>2021-09-23 19:27:19 +0300
commit18a4dc869d16fca315df32a790843a0068c72a47 (patch)
treef9ba190f227ad71fb04f7dcf07a99ad1a3269dc8 /source/blender/blenlib/BLI_uuid.h
parent502543e46b0c3ccc92db7161b899442f6d7a10f9 (diff)
Cleanup: UUID, fix clang-tidy warnings
Use explicit `uint32_t` instead of `uint`, add a missing end-of-namespace comment, and change `auto` to `const auto *`. No functional changes.
Diffstat (limited to 'source/blender/blenlib/BLI_uuid.h')
-rw-r--r--source/blender/blenlib/BLI_uuid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_uuid.h b/source/blender/blenlib/BLI_uuid.h
index 111a3d1eac3..eef37841d15 100644
--- a/source/blender/blenlib/BLI_uuid.h
+++ b/source/blender/blenlib/BLI_uuid.h
@@ -84,13 +84,13 @@ class bUUID : public ::bUUID {
bUUID(const ::bUUID &struct_uuid);
/** Initialise from 11 integers, 5 for the regular fields and 6 for the `node` array. */
- bUUID(std::initializer_list<uint> field_values);
+ bUUID(std::initializer_list<uint32_t> field_values);
/** Initialise by parsing the string; undefined behaviour when the string is invalid. */
explicit bUUID(const std::string &string_formatted_uuid);
uint64_t hash() const;
-};
+}; // namespace blender
bool operator==(bUUID uuid1, bUUID uuid2);
bool operator!=(bUUID uuid1, bUUID uuid2);