Mercurial > hg > orthanc
diff OrthancServer/Plugins/Engine/OrthancPlugins.cpp @ 4915:189ae9a37e01
reorder arguments to put the target as first argument (convention)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 22 Feb 2022 22:18:54 +0100 |
parents | c1b19f95e166 |
children | 676e03e69703 |
line wrap: on
line diff
--- a/OrthancServer/Plugins/Engine/OrthancPlugins.cpp Tue Feb 22 22:14:31 2022 +0100 +++ b/OrthancServer/Plugins/Engine/OrthancPlugins.cpp Tue Feb 22 22:18:54 2022 +0100 @@ -2302,7 +2302,7 @@ { OrthancPluginMemoryBuffer64 buffer; - callbackResult = (*pimpl_->receivedInstanceCallback_) (receivedDicom, receivedDicomSize, &buffer); + callbackResult = (*pimpl_->receivedInstanceCallback_) (&buffer, receivedDicom, receivedDicomSize); modified.Assign(buffer.data, buffer.size, ::free); }