From a56a8c1d6ce20bd17a95d373323301d565c8a4c0 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Thu, 18 Aug 2022 00:24:29 +0200 Subject: [PATCH] fix: Some clang issues --- lib/external/pattern_language | 2 +- plugins/builtin/source/content/data_inspector.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/external/pattern_language b/lib/external/pattern_language index ec8ed47d6..4e9492ee7 160000 --- a/lib/external/pattern_language +++ b/lib/external/pattern_language @@ -1 +1 @@ -Subproject commit ec8ed47d66ba775154d938af3a842f9cdd7b218f +Subproject commit 4e9492ee72a7d518de3bcad6308ea4e53148a365 diff --git a/plugins/builtin/source/content/data_inspector.cpp b/plugins/builtin/source/content/data_inspector.cpp index e4419c1f0..f524e2018 100644 --- a/plugins/builtin/source/content/data_inspector.cpp +++ b/plugins/builtin/source/content/data_inspector.cpp @@ -118,7 +118,7 @@ namespace hex::plugin::builtin { template static hex::ContentRegistry::DataInspector::impl::GeneratorFunction drawString(T func) { return [func](const std::vector &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; }; }; }