mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Few more build issues
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user