Mercurial > hg > orthanc-stone
comparison Framework/Deprecated/Volumes/StructureSetLoader.h @ 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 | 7ec8fea061b9 |
children | 257f2c9a02ac |
comparison
equal
deleted
inserted
replaced
1297:6ab03e429f06 | 1299:c38c89684d83 |
---|---|
32 public IVolumeLoader, | 32 public IVolumeLoader, |
33 public OrthancStone::ObserverBase<StructureSetLoader> | 33 public OrthancStone::ObserverBase<StructureSetLoader> |
34 { | 34 { |
35 private: | 35 private: |
36 OrthancApiClient& orthanc_; | 36 OrthancApiClient& orthanc_; |
37 std::auto_ptr<OrthancStone::DicomStructureSet> structureSet_; | 37 std::unique_ptr<OrthancStone::DicomStructureSet> structureSet_; |
38 | 38 |
39 void OnReferencedSliceLoaded(const OrthancApiClient::JsonResponseReadyMessage& message); | 39 void OnReferencedSliceLoaded(const OrthancApiClient::JsonResponseReadyMessage& message); |
40 | 40 |
41 void OnStructureSetLoaded(const OrthancApiClient::JsonResponseReadyMessage& message); | 41 void OnStructureSetLoaded(const OrthancApiClient::JsonResponseReadyMessage& message); |
42 | 42 |