fix: Few more build issues

This commit is contained in:
WerWolv
2025-08-06 20:49:23 +02:00
parent dda32ef0f9
commit 5be6297bac
3 changed files with 4 additions and 4 deletions

View File

@@ -93,8 +93,8 @@ namespace hex::test {
template<typename F>
TestSequence<F> operator+(const TestSequenceExecutor &executor, F &&f) noexcept {
return TestSequence<F>(executor.getName(), std::forward<F>(f), executor.shouldFail());
TestSequence<F> operator+(const TestSequenceExecutor &executor, F f) noexcept {
return TestSequence<F>(executor.getName(), std::move(f), executor.shouldFail());
}

View File

@@ -5,7 +5,7 @@ namespace hex::test {
static std::map<std::string, Test> s_tests;
int Tests::addTest(const std::string &name, Function func, bool shouldFail) noexcept {
s_tests.insert({
name, {func, shouldFail}
name, { func, shouldFail }
});
return 0;

View File

@@ -60,7 +60,7 @@ namespace hex::plugin::builtin {
ImGui::TableNextRow();
ImGui::TableNextColumn();
ImGui::TextUnformatted(project.begin(), project.end());
ImGui::TextUnformatted(project.data(), project.data() + project.size());
ImGui::TableNextColumn();
ImGui::PushStyleColor(ImGuiCol_Text, getColor(level).Value);
ImGui::TextUnformatted(message.c_str());