Mercurial > hg > orthanc
comparison Plugins/Samples/Common/OrthancPluginCppWrapper.cpp @ 3923:2434e98987ba transcoding
fix for older compilers
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 12 May 2020 21:05:15 +0200 |
parents | f6ccff28fbed |
children | b99acc213937 |
comparison
equal
deleted
inserted
replaced
3922:74eeadf5d51d | 3923:2434e98987ba |
---|---|
3362 { | 3362 { |
3363 ORTHANC_PLUGINS_THROW_EXCEPTION(Plugin); | 3363 ORTHANC_PLUGINS_THROW_EXCEPTION(Plugin); |
3364 } | 3364 } |
3365 else | 3365 else |
3366 { | 3366 { |
3367 std::unique_ptr<DicomInstance> result(new DicomInstance(instance)); | 3367 boost::movelib::unique_ptr<DicomInstance> result(new DicomInstance(instance)); |
3368 result->toFree_ = true; | 3368 result->toFree_ = true; |
3369 return result.release(); | 3369 return result.release(); |
3370 } | 3370 } |
3371 } | 3371 } |
3372 #endif | 3372 #endif |