Mercurial > hg > orthanc
comparison Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 3320:0f721f015b85
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 04 Mar 2019 13:37:21 +0100 |
parents | 872efde28e58 |
children | a48d652f1500 |
comparison
equal
deleted
inserted
replaced
3319:df90c2a56acd | 3320:0f721f015b85 |
---|---|
127 } | 127 } |
128 | 128 |
129 // This transfers ownership from "other" to "this" | 129 // This transfers ownership from "other" to "this" |
130 void Assign(OrthancPluginMemoryBuffer& other); | 130 void Assign(OrthancPluginMemoryBuffer& other); |
131 | 131 |
132 void Swap(MemoryBuffer& other); | |
133 | |
132 OrthancPluginMemoryBuffer Release(); | 134 OrthancPluginMemoryBuffer Release(); |
133 | 135 |
134 const char* GetData() const | 136 const char* GetData() const |
135 { | 137 { |
136 if (buffer_.size > 0) | 138 if (buffer_.size > 0) |