Fix unity build
Bigfoot / Build & Test Debug with ./ConanProfiles/clang (Unity Build: ON) (push) Has been cancelled
Bigfoot / Build & Test Debug with ./ConanProfiles/clang_asan (Unity Build: OFF) (push) Has been cancelled
Bigfoot / Build & Test Debug with ./ConanProfiles/clang_asan (Unity Build: ON) (push) Has been cancelled
Bigfoot / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: OFF) (push) Has been cancelled
Bigfoot / Build & Test RelWithDebInfo with ./ConanProfiles/clang (Unity Build: ON) (push) Has been cancelled
Bigfoot / Build & Test RelWithDebInfo with ./ConanProfiles/clang_asan (Unity Build: OFF) (push) Has been cancelled
Bigfoot / Build & Test RelWithDebInfo with ./ConanProfiles/clang_asan (Unity Build: ON) (push) Has been cancelled
Bigfoot / Build & Test Release with ./ConanProfiles/clang (Unity Build: OFF) (push) Has been cancelled
Bigfoot / Build & Test Release with ./ConanProfiles/clang (Unity Build: ON) (push) Has been cancelled
Bigfoot / Build & Test Release with ./ConanProfiles/clang_asan (Unity Build: OFF) (push) Has been cancelled
Bigfoot / Build & Test Release with ./ConanProfiles/clang_asan (Unity Build: ON) (push) Has been cancelled
Bigfoot / Clang Format Checks (push) Has been cancelled
Bigfoot / Build & Test Debug with ./ConanProfiles/clang (Unity Build: OFF) (push) Has been cancelled

This commit is contained in:
2026-07-28 18:31:59 +02:00
parent 3cb5409651
commit ccf5391199
@@ -11,8 +11,6 @@
#include <Engine/Asset/Reference.hpp> #include <Engine/Asset/Reference.hpp>
#include <Engine/Asset/Reference_generated.hpp> #include <Engine/Asset/Reference_generated.hpp>
#include <Utils/Concat.h>
#define ASSET_SOFT_REF_DECL(AssetName, AssetType) \ #define ASSET_SOFT_REF_DECL(AssetName, AssetType) \
namespace flatbuffers \ namespace flatbuffers \
{ \ { \
@@ -68,8 +66,7 @@
#define ASSET_CONTAINER(AssetType) \ #define ASSET_CONTAINER(AssetType) \
namespace Bigfoot \ namespace Bigfoot \
{ \ { \
AssetContainer<AssetType> MAKE_UNIQUE_VARIABLE_NAME(AssetType##Container); \ AssetContainer<AssetType> AssetType##Container; \
const bool MAKE_UNIQUE_VARIABLE_NAME(inserted) = \ const bool inserted##AssetType = g_assetLibrary.Insert(&AssetType##Container); \
g_assetLibrary.Insert(&MAKE_UNIQUE_VARIABLE_NAME(AssetType##Container)); \
} }
#endif #endif