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
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user