diff options
| author | Brick <samuelwilde@hotmail.com> | 2018-10-19 12:21:16 +0100 |
|---|---|---|
| committer | Brick <samuelwilde@hotmail.com> | 2018-10-19 12:21:16 +0100 |
| commit | 6c554162b307ba06102038f62113f5c336eab8a1 (patch) | |
| tree | 22fc40d8f301f4ead63f93cb49be12e906de7315 /binaryninjaapi.h | |
| parent | f556db4ee172437ba3177e13065cb19f01cddc2f (diff) | |
Added move constructor/assignment operator to DataBuffer
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 6f6778da..2b3273a8 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -672,10 +672,12 @@ namespace BinaryNinja DataBuffer(size_t len); DataBuffer(const void* data, size_t len); DataBuffer(const DataBuffer& buf); + DataBuffer(DataBuffer&& buf); DataBuffer(BNDataBuffer* buf); ~DataBuffer(); DataBuffer& operator=(const DataBuffer& buf); + DataBuffer& operator=(DataBuffer&& buf); BNDataBuffer* GetBufferObject() const { return m_buffer; } |
