comparison Framework/Deprecated/Toolbox/Slice.cpp @ 1299:c38c89684d83 broker

replacing std::auto_ptr by std::unique_ptr
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Mar 2020 17:21:24 +0100
parents 2d8ab34c8c91
children 30deba7bc8e2
comparison
equal deleted inserted replaced
1297:6ab03e429f06 1299:c38c89684d83
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_;