Mercurial > hg > orthanc-stone
diff Applications/Samples/TestPatternApplication.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 | 2d8ab34c8c91 |
children |
line wrap: on
line diff
--- a/Applications/Samples/TestPatternApplication.h Sun Feb 23 15:32:24 2020 +0100 +++ b/Applications/Samples/TestPatternApplication.h Mon Mar 02 17:21:24 2020 +0100 @@ -49,7 +49,7 @@ { using namespace OrthancStone; - std::auto_ptr<LayoutWidget> layout(new LayoutWidget); + std::unique_ptr<LayoutWidget> layout(new LayoutWidget); layout->SetPadding(10); layout->SetBackgroundCleared(true); layout->AddWidget(new TestCairoWidget(parameters["animate"].as<bool>()));