mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
fix: Some clang issues
This commit is contained in:
@@ -118,7 +118,7 @@ namespace hex::plugin::builtin {
|
||||
template<typename T>
|
||||
static hex::ContentRegistry::DataInspector::impl::GeneratorFunction drawString(T func) {
|
||||
return [func](const std::vector<u8> &buffer, std::endian endian, Style style) {
|
||||
return [value = func(buffer, endian, style)] -> std::string { ImGui::TextUnformatted(value.c_str()); return value; };
|
||||
return [value = func(buffer, endian, style)]() -> std::string { ImGui::TextUnformatted(value.c_str()); return value; };
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user