summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 3cdb1498..0002aa77 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -217,7 +217,7 @@ namespace BinaryNinja {
T* GetObject() const { return m_object; }
- static T* GetObject(StaticCoreRefCountObject* obj)
+ static T* GetObject(const StaticCoreRefCountObject* obj)
{
if (!obj)
return nullptr;