Mercurial > hg > orthanc-stone
comparison Applications/Samples/SingleFrameApplication.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 |
---|---|
191 | 191 |
192 widget_->FitContent(); | 192 widget_->FitContent(); |
193 } | 193 } |
194 | 194 |
195 boost::shared_ptr<Deprecated::SliceViewerWidget> widget_; | 195 boost::shared_ptr<Deprecated::SliceViewerWidget> widget_; |
196 std::auto_ptr<Interactor> mainWidgetInteractor_; | 196 std::unique_ptr<Interactor> mainWidgetInteractor_; |
197 boost::shared_ptr<Deprecated::DicomSeriesVolumeSlicer> source_; | 197 boost::shared_ptr<Deprecated::DicomSeriesVolumeSlicer> source_; |
198 unsigned int slice_; | 198 unsigned int slice_; |
199 | 199 |
200 public: | 200 public: |
201 SingleFrameApplication() : | 201 SingleFrameApplication() : |