comparison Framework/Deprecated/Toolbox/Slice.cpp @ 1298:8a0a62189f46

replacing std::auto_ptr by std::unique_ptr
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Mar 2020 16:31:30 +0100
parents 2d8ab34c8c91
children 30deba7bc8e2
comparison
equal deleted inserted replaced
1296:86400fa16091 1298:8a0a62189f46
46 } 46 }
47 } 47 }
48 48
49 Slice* Slice::Clone() const 49 Slice* Slice::Clone() const
50 { 50 {
51 std::auto_ptr<Slice> target(new Slice()); 51 std::unique_ptr<Slice> target(new Slice());
52 52
53 target->type_ = type_; 53 target->type_ = type_;
54 target->orthancInstanceId_ = orthancInstanceId_; 54 target->orthancInstanceId_ = orthancInstanceId_;
55 target->sopClassUid_ = sopClassUid_; 55 target->sopClassUid_ = sopClassUid_;
56 target->frame_ = frame_; 56 target->frame_ = frame_;