diff options
| author | Alexander Taylor <alex@vector35.com> | 2025-06-25 14:14:54 -0400 |
|---|---|---|
| committer | Alexander Taylor <alex@vector35.com> | 2025-06-25 18:36:48 -0400 |
| commit | 8da169d6d626fc3a8c307003e3c43516b16972ae (patch) | |
| tree | 09c83f4a7e34cf4d72310ed2d2aa830b5dd0feb5 /binaryninjaapi.h | |
| parent | c21c5dbb75780e9d73d5886a50b2a320dc250fcf (diff) | |
Fix const correctness error on Linux.
Apparently GCC will fail the build for this in C++20.
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 2 |
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; |
