Fixed a warning about the use of the deprecated std::auto_ptr in favour of std::unique_ptr