REFACT: Deprecate `auto_ptr`
- Mar 06, 2019
-
-
Luc Hermitte authored
`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.
-
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
`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.