summaryrefslogtreecommitdiff
path: root/view/pe
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2025-06-24 17:55:48 -0400
committerAlexander Taylor <alex@vector35.com>2025-06-25 18:36:47 -0400
commitc41f264a1dba68c89b4a224a70e3a5783f7fa879 (patch)
tree00bb6e91d86b708bff7265ed7179a6ef2793b7fb /view/pe
parentb1a7666164a000c5255f90568ed9597b58ce276a (diff)
Remove implicit conversions from Confidence to underlying type, these can cause bugs and also issues with C++20
Diffstat (limited to 'view/pe')
-rw-r--r--view/pe/peview.cpp2
1 files changed, 1 insertions, 1 deletions
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<Ref<Type>>& type) {
DefineAutoSymbolAndVariableOrFunction(GetDefaultPlatform(), symbol, type);
});
}