Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/ColorTextureSceneLayer.cpp @ 1308:adf234ecaa00 broker
Merge
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 04 Mar 2020 10:21:54 +0100 |
parents | 8a0a62189f46 |
children | 30deba7bc8e2 |
comparison
equal
deleted
inserted
replaced
1307:8a28a9bf8876 | 1308:adf234ecaa00 |
---|---|
40 } | 40 } |
41 | 41 |
42 | 42 |
43 ISceneLayer* ColorTextureSceneLayer::Clone() const | 43 ISceneLayer* ColorTextureSceneLayer::Clone() const |
44 { | 44 { |
45 std::auto_ptr<ColorTextureSceneLayer> cloned(new ColorTextureSceneLayer(GetTexture())); | 45 std::unique_ptr<ColorTextureSceneLayer> cloned(new ColorTextureSceneLayer(GetTexture())); |
46 cloned->CopyParameters(*this); | 46 cloned->CopyParameters(*this); |
47 return cloned.release(); | 47 return cloned.release(); |
48 } | 48 } |
49 } | 49 } |