REFACT: Deprecate `auto_ptr`
Summary
Replace use of std::auto_ptr<>
with std::unique_ptr<>
Rationale
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.
Implementation Details
The internal type used in ossimAdapter
is updated to use unique_ptr<>
instead of auto_ptr<>
. Along the update, the test expressions are simplified.
Copyright
The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.
Check before merging:
-
All discussions are resolved
-
At least 2
👍 votes from core developers, no👎 vote. -
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
Edited by Luc Hermitte