summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2021-08-25 22:58:21 -0400
committerBrian Potchik <brian@vector35.com>2021-08-25 22:58:21 -0400
commit11ca2c9f4057e00a69a87e77376ff8c0b2e44830 (patch)
tree866fa817924a60563738830aacdcb883ae8aad88
parent2bb6b7d483940d648f0aaf1ff0e5fe6cf42ed18e (diff)
Update reflection view for improved IL synchronization and default IL.
-rw-r--r--ui/viewframe.h2
1 files changed, 1 insertions, 1 deletions
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; }