Skip to content

Commit

Permalink
Fix unity build
Browse files Browse the repository at this point in the history
  • Loading branch information
SirLynix committed Jan 21, 2025
1 parent d82a8e4 commit 8f9c124
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/src/Tests/ToolUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ namespace NAZARA_ANONYMOUS_NAMESPACE

void CheckFileMatch(const std::filesystem::path& firstFile, const std::filesystem::path& secondFile)
{
NAZARA_USE_ANONYMOUS_NAMESPACE

std::vector<char> firstFileContent = ReadFile(firstFile);
std::vector<char> secondFileContent = ReadFile(secondFile);

Expand All @@ -65,6 +67,8 @@ void CheckFileMatch(const std::filesystem::path& firstFile, const std::filesyste

void CheckHeaderMatch(const std::filesystem::path& originalFilepath)
{
NAZARA_USE_ANONYMOUS_NAMESPACE

std::vector<char> originalContent = ReadFile(originalFilepath);

std::filesystem::path headerFilepath = originalFilepath;
Expand Down

0 comments on commit 8f9c124

Please sign in to comment.