fix: Some clang issues
This commit is contained in:
parent
9c4e314bb6
commit
a56a8c1d6c
2
lib/external/pattern_language
vendored
2
lib/external/pattern_language
vendored
@ -1 +1 @@
|
|||||||
Subproject commit ec8ed47d66ba775154d938af3a842f9cdd7b218f
|
Subproject commit 4e9492ee72a7d518de3bcad6308ea4e53148a365
|
@ -118,7 +118,7 @@ namespace hex::plugin::builtin {
|
|||||||
template<typename T>
|
template<typename T>
|
||||||
static hex::ContentRegistry::DataInspector::impl::GeneratorFunction drawString(T func) {
|
static hex::ContentRegistry::DataInspector::impl::GeneratorFunction drawString(T func) {
|
||||||
return [func](const std::vector<u8> &buffer, std::endian endian, Style style) {
|
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; };
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user