From c41f264a1dba68c89b4a224a70e3a5783f7fa879 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Tue, 24 Jun 2025 17:55:48 -0400 Subject: Remove implicit conversions from Confidence to underlying type, these can cause bugs and also issues with C++20 --- view/pe/peview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/pe/peview.cpp') diff --git a/view/pe/peview.cpp b/view/pe/peview.cpp index 6c852bca..e45edd05 100644 --- a/view/pe/peview.cpp +++ b/view/pe/peview.cpp @@ -3003,7 +3003,7 @@ void PEView::AddPESymbol(BNSymbolType type, const string& dll, const string& nam new Symbol(type, shortName, fullName, rawName, address, binding, ns, ordinal), typeRef); }, - [this](Symbol* symbol, Type* type) { + [this](Symbol* symbol, const Confidence>& type) { DefineAutoSymbolAndVariableOrFunction(GetDefaultPlatform(), symbol, type); }); } -- cgit v1.3.1