Use modern smart pointer class `std::unique_ptr' instead of the deprecated in C++11 and removed in C++17 `std::auto_ptr'. Reported by: pkg-fallout