In file included from crypto-openssl.cpp:31:0:
crypto.hpp:60:7: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Aes_impl> impl;
^~~~~~~~
In file included from /usr/include/c++/6.1.1/memory:81:0,
from crypto.hpp:39,
from crypto-openssl.cpp:31:
/usr/include/c++/6.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from crypto-openssl.cpp:31:0:
crypto.hpp:105:7: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Hmac_impl> impl;
^~~~~~~~
In file included from /usr/include/c++/6.1.1/memory:81:0,
from crypto.hpp:39,
from crypto-openssl.cpp:31:
/usr/include/c++/6.1.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
It looks like you could probably just replace it with std::unique_ptr?
It looks like you could probably just replace it with
std::unique_ptr
?