REFACT: Deprecate `auto_ptr`
Compare changes
@@ -56,16 +56,16 @@ class OTBOSSIMAdapters_EXPORT SarSensorModelAdapter: public itk::Object
@@ -77,32 +77,32 @@ public:
@@ -113,12 +113,12 @@ public:
@@ -127,8 +127,8 @@ public:
Replace use of std::auto_ptr<>
with std::unique_ptr<>
auto_ptr
has been deprecated in C++11 and completely removed from C++17
standard.
This was the last occurrence of this class which emits a few warnings.
The internal type used in ossimAdapter
is updated to use unique_ptr<>
instead of auto_ptr<>
. Along the update, the test expressions are simplified.
The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.
Check before merging:
All discussions are resolved
At least 2
The feature branch is (reasonably) up-to-date with the base branch
Dashboard is green
Copyright owner has signed the ORFEO ToolBox Contributor License Agreement