summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2017-07-26 16:16:00 -0400
committerRusty Wagner <rusty@vector35.com>2017-07-26 16:16:00 -0400
commit228cb36d573373692d3f96768721852c5034ba78 (patch)
tree1634d7f100c0dcbb9976d67f29b54391618422b6 /binaryninjaapi.h
parentd9c2c3d7c81863f37ccb3885f7c57376f40a2e5d (diff)
Fix Linux build
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; }