build: Updated ImGui, libfmt and libyara

This commit is contained in:
WerWolv
2024-07-01 22:00:08 +02:00
parent 5fced6bb63
commit 3a99d53ba5
17 changed files with 395 additions and 240 deletions

View File

@@ -102,12 +102,9 @@ namespace hex {
std::string m_unlocalizedString;
};
}
template<>
struct fmt::formatter<hex::Lang> : fmt::formatter<std::string_view> {
template<typename FormatContext>
auto format(const hex::Lang &entry, FormatContext &ctx) {
return fmt::formatter<std::string_view>::format(entry.get(), ctx);
// {fmt} formatter for hex::Lang
inline auto format_as(const hex::Lang &entry) {
return entry.get();
}
};
}

View File

@@ -2,6 +2,7 @@
#include <string_view>
#include <fmt/format.h>
#include <fmt/ranges.h>
namespace hex {