summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 62ebbd04..be909b01 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -326,8 +326,7 @@ namespace BinaryNinja
{
}
- operator T() { return m_value; }
- const operator T() const { return m_value; }
+ operator T() const { return m_value; }
T* operator->() { return &m_value; }
const T* operator->() const { return &m_value; }