Blender Git Commit Log

Git Commits -> Revision bd63944

Revision bd63944 by Sybren A. Stüvel (master)
September 23, 2021, 15:58 (GMT)
UUID: place C++ code in correct namespace

Put the `bUUID` class in the `blender` namespace, instead of the
`blender::bke` namespace.

As a result, some C++ code now correctly uses the C++ class, where
previously it would use the C struct and use implicit casting where
necessary. As a result, support for initializer lists had to be
explicitly coded and in another place an explicit `::bUUID` was
necessary to avoid ambiguity.

Commit Details:

Full Hash: bd63944a739b4dcd49e8a65294ffb1b8a0a7b20b
Parent Commit: 942fc9f
Lines Changed: +35, -10

4 Modified Paths:

/source/blender/blenkernel/intern/asset.cc (+1, -1) (Diff)
/source/blender/blenlib/BLI_uuid.h (+7, -2) (Diff)
/source/blender/blenlib/intern/uuid.cc (+19, -3) (Diff)
/source/blender/blenlib/tests/BLI_uuid_test.cc (+8, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021