diff --git a/.gitea/workflows/sonarqube.yml b/.gitea/workflows/sonarqube.yml index 18c0302..b58d3b3 100644 --- a/.gitea/workflows/sonarqube.yml +++ b/.gitea/workflows/sonarqube.yml @@ -27,10 +27,10 @@ jobs: run: | conan profile detect conan install . --remote=bigfootpackages -pr:h=./ConanProfiles/clang_coverage -pr:b=./ConanProfiles/Tools/clang --build=* -s:h build_type=Debug - . ./build/${{ matrix.build_type }}/generators/conanbuild.sh + . ./build/Debug/generators/conanbuild.sh cmake -S . -B ./build/Debug --toolchain ./build/Debug/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Debug -G "Ninja" cmake --build build/Debug --parallel $(nproc) - . ./build/${{ matrix.build_type }}/generators/deactivate_conanbuild.sh + . ./build/Debug/generators/deactivate_conanbuild.sh - name: Clang-Tidy run: run-clang-tidy -p ./build/Debug/ >> tidy_result.txt diff --git a/Bin2CPP/Sources/Bin2CPPLib/Include/Assert.hpp b/Bin2CPP/Sources/Bin2CPPLib/Include/Assert.hpp index fde8ee6..e740fd4 100644 --- a/Bin2CPP/Sources/Bin2CPPLib/Include/Assert.hpp +++ b/Bin2CPP/Sources/Bin2CPPLib/Include/Assert.hpp @@ -37,9 +37,7 @@ class AssertHandler * \param p_args Arguments for the format string. */ template - static void Handle(const std::source_location& p_location, - std::format_string p_format, - ARGS&&... p_args) + static void Handle(const std::source_location& p_location, std::format_string p_format, ARGS&&... p_args) { BIN2CPP_LOG_FATAL("Assert: {} (File:{}, Line:{}, Function:{})", std::format(p_format, std::forward(p_args)...), @@ -73,8 +71,7 @@ class AssertHandler constexpr std::source_location location = std::source_location::current(); \ if (!(p_assert)) [[unlikely]] \ { \ - Bin2CPP::AssertHandler::Handle(location, \ - p_message __VA_OPT__(, ) __VA_ARGS__); \ + Bin2CPP::AssertHandler::Handle(location, p_message __VA_OPT__(, ) __VA_ARGS__); \ if (Bin2CPP::Singleton::HasInstance()) \ { \ Bin2CPP::Singleton::Instance().Flush(); \ @@ -89,8 +86,7 @@ class AssertHandler constexpr std::source_location location = std::source_location::current(); \ if (!(p_assert)) [[unlikely]] \ { \ - Bin2CPP::AssertHandler::Handle(location, \ - p_message __VA_OPT__(, ) __VA_ARGS__); \ + Bin2CPP::AssertHandler::Handle(location, p_message __VA_OPT__(, ) __VA_ARGS__); \ if (Bin2CPP::Singleton::HasInstance()) \ { \ Bin2CPP::Singleton::Instance().Flush(); \ @@ -105,8 +101,7 @@ class AssertHandler constexpr std::source_location location = std::source_location::current(); \ if (!(p_assert)) [[unlikely]] \ { \ - Bin2CPP::AssertHandler::Handle(location, \ - p_message __VA_OPT__(, ) __VA_ARGS__); \ + Bin2CPP::AssertHandler::Handle(location, p_message __VA_OPT__(, ) __VA_ARGS__); \ if (Bin2CPP::Singleton::HasInstance()) \ { \ Bin2CPP::Singleton::Instance().Flush(); \