From 11ca2c9f4057e00a69a87e77376ff8c0b2e44830 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Wed, 25 Aug 2021 22:58:21 -0400 Subject: Update reflection view for improved IL synchronization and default IL. --- ui/viewframe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/viewframe.h b/ui/viewframe.h index a3b9682e..5a8b6428 100644 --- a/ui/viewframe.h +++ b/ui/viewframe.h @@ -259,7 +259,7 @@ public: m_viewType(viewType), m_offset(offset), m_ilViewType(ilViewType), m_instrIndex(instrIndex) { } ViewLocation(const QString& viewType, FunctionRef function, uint64_t offset, BNFunctionGraphType ilViewType, size_t instrIndex) : m_valid(true), m_viewType(viewType), m_function(function), m_offset(offset), m_ilViewType(ilViewType), m_instrIndex(instrIndex) { } - ViewLocation(FunctionRef function, uint64_t offset, BNFunctionGraphType ilViewType, size_t instrIndex) : m_valid(true), + ViewLocation(FunctionRef function, uint64_t offset, BNFunctionGraphType ilViewType, size_t instrIndex = BN_INVALID_EXPR) : m_valid(true), m_function(function), m_offset(offset), m_ilViewType(ilViewType), m_instrIndex(instrIndex) { } bool isValid() const { return m_valid; } -- cgit v1.3.1