Blender Git Loki

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021