From 0e584983e460ed4593b8f627dd202d971ede5b1c Mon Sep 17 00:00:00 2001 From: Romain BOULLARD Date: Sun, 30 Aug 2026 15:58:26 +0200 Subject: [PATCH] Fix UnityBuild --- Bigfoot/Tests/Engine/Asset/AssetTypeID.cpp | 4 ++-- Bigfoot/Tests/System/Time/Time.cpp | 4 ++-- Bigfoot/Tests/System/UUID/UUID.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Bigfoot/Tests/Engine/Asset/AssetTypeID.cpp b/Bigfoot/Tests/Engine/Asset/AssetTypeID.cpp index 97c5fa9..51e9211 100644 --- a/Bigfoot/Tests/Engine/Asset/AssetTypeID.cpp +++ b/Bigfoot/Tests/Engine/Asset/AssetTypeID.cpp @@ -18,7 +18,7 @@ TEST(AssetTypeID, Pack_ShouldGiveAFlatAssetTypeIDWithTheSameValue) { constexpr AssetTypeID assetTypeID = 42; - const Flat::Bigfoot::AssetTypeID flatAssetTypeID = flatbuffers::Pack(assetTypeID); + const ::Flat::Bigfoot::AssetTypeID flatAssetTypeID = flatbuffers::Pack(assetTypeID); EXPECT_EQ(flatAssetTypeID.value(), assetTypeID); } @@ -28,7 +28,7 @@ TEST(AssetTypeID, UnPack_ShouldGiveBackTheOriginalValue) { constexpr AssetTypeID assetTypeID = 42; - const Flat::Bigfoot::AssetTypeID flatAssetTypeID = flatbuffers::Pack(assetTypeID); + const ::Flat::Bigfoot::AssetTypeID flatAssetTypeID = flatbuffers::Pack(assetTypeID); EXPECT_EQ(flatbuffers::UnPack(flatAssetTypeID), assetTypeID); } } // namespace Bigfoot diff --git a/Bigfoot/Tests/System/Time/Time.cpp b/Bigfoot/Tests/System/Time/Time.cpp index ac046ee..a03d462 100644 --- a/Bigfoot/Tests/System/Time/Time.cpp +++ b/Bigfoot/Tests/System/Time/Time.cpp @@ -71,7 +71,7 @@ TEST_F(TimeFixture, GetMicrosecond_ShouldReturnTheMicrosecond) TEST_F(TimeFixture, Pack_ShouldGiveAFlatTimeWithTheSameEpoch) { - const Flat::Bigfoot::Time flatTime = flatbuffers::Pack(m_time); + const ::Flat::Bigfoot::Time flatTime = flatbuffers::Pack(m_time); EXPECT_EQ(flatTime.epoch(), m_time.GetEpoch()); } @@ -79,7 +79,7 @@ TEST_F(TimeFixture, Pack_ShouldGiveAFlatTimeWithTheSameEpoch) TEST_F(TimeFixture, UnPack_ShouldGiveBackTheOriginalTime) { - const Flat::Bigfoot::Time flatTime = flatbuffers::Pack(m_time); + const ::Flat::Bigfoot::Time flatTime = flatbuffers::Pack(m_time); EXPECT_EQ(flatbuffers::UnPack(flatTime), m_time); } } // namespace Bigfoot diff --git a/Bigfoot/Tests/System/UUID/UUID.cpp b/Bigfoot/Tests/System/UUID/UUID.cpp index fada6e2..39480f3 100644 --- a/Bigfoot/Tests/System/UUID/UUID.cpp +++ b/Bigfoot/Tests/System/UUID/UUID.cpp @@ -183,7 +183,7 @@ TEST_F(UUIDFixture, ToBytes_ShouldGiveBackTheRawDataOfTheID) TEST_F(UUIDFixture, Pack_ShouldGiveAFlatUUIDWithTheSameRawBytes) { - const Flat::Bigfoot::UUID flatUUID = flatbuffers::Pack(m_d); + const ::Flat::Bigfoot::UUID flatUUID = flatbuffers::Pack(m_d); for (std::uint32_t i = 0; i < UUID::UUID_BYTE_SIZE; ++i) { @@ -195,7 +195,7 @@ TEST_F(UUIDFixture, Pack_ShouldGiveAFlatUUIDWithTheSameRawBytes) TEST_F(UUIDFixture, UnPack_ShouldGiveBackTheOriginalUUID) { - const Flat::Bigfoot::UUID flatUUID = flatbuffers::Pack(m_d); + const ::Flat::Bigfoot::UUID flatUUID = flatbuffers::Pack(m_d); EXPECT_EQ(flatbuffers::UnPack(flatUUID), m_d); }