comparison OrthancFramework/Sources/JobsEngine/Operations/SequenceOfOperationsJob.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
234 boost::mutex::scoped_lock lock(mutex_); 234 boost::mutex::scoped_lock lock(mutex_);
235 observers_.push_back(&observer); 235 observers_.push_back(&observer);
236 } 236 }
237 237
238 238
239 #if ORTHANC_BUILDING_FRAMEWORK_LIBRARY == 1
240 void SequenceOfOperationsJob::Lock::AddInput(size_t index,
241 const JobOperationValue& value)
242 {
243 throw OrthancException(ErrorCode_DiscontinuedAbi, "Removed in 1.8.1");
244 }
245 #endif
246
247
239 SequenceOfOperationsJob::Lock::Lock(SequenceOfOperationsJob& that) : 248 SequenceOfOperationsJob::Lock::Lock(SequenceOfOperationsJob& that) :
240 that_(that), 249 that_(that),
241 lock_(that.mutex_) 250 lock_(that.mutex_)
242 { 251 {
243 } 252 }