Mercurial > hg > orthanc
comparison OrthancFramework/Sources/JobsEngine/Operations/JobOperationValues.cpp @ 4348:93c281752e7a
reintroduced backward ABI compatibility in Orthanc Framework .so for unit tests of Orthanc 1.7.2 to 1.8.0
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 06 Dec 2020 12:21:31 +0100 |
parents | 2ae905070221 |
children | d9473bd5ed43 |
comparison
equal
deleted
inserted
replaced
4347:3dffe8f7af48 | 4348:93c281752e7a |
---|---|
29 #include <cassert> | 29 #include <cassert> |
30 #include <memory> | 30 #include <memory> |
31 | 31 |
32 namespace Orthanc | 32 namespace Orthanc |
33 { | 33 { |
34 #if ORTHANC_BUILDING_FRAMEWORK_LIBRARY == 1 | |
35 void JobOperationValues::Append(JobOperationValue* value) | |
36 { | |
37 throw OrthancException(ErrorCode_DiscontinuedAbi, "Removed in 1.8.1"); | |
38 } | |
39 #endif | |
40 | |
41 | |
34 void JobOperationValues::Append(JobOperationValues& target, | 42 void JobOperationValues::Append(JobOperationValues& target, |
35 bool clear) | 43 bool clear) |
36 { | 44 { |
37 target.Reserve(target.GetSize() + GetSize()); | 45 target.Reserve(target.GetSize() + GetSize()); |
38 | 46 |