Replace uses of deprecated std::auto_ptr with std::unique_ptr.

Change-Id: I8d67fc6f3ce168f4d8b6330549f766dbf5374d61
11 files changed