diff options
author | lloyd <[email protected]> | 2012-02-07 19:50:28 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-02-07 19:50:28 +0000 |
commit | e943fc67962b6e4dc2c7c64707dc2cf062728520 (patch) | |
tree | 2f8cf3141f186c748f02d079fc18d71c37448f03 /src/cert/x509cert | |
parent | 8809043895d1d4cf37ff476cb69c9277b33cc957 (diff) |
Fixes for GCC 4.7.0 (r183974)
Diffstat (limited to 'src/cert/x509cert')
-rw-r--r-- | src/cert/x509cert/x509_obj.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cert/x509cert/x509_obj.cpp b/src/cert/x509cert/x509_obj.cpp index 13193f09c..eff8e2543 100644 --- a/src/cert/x509cert/x509_obj.cpp +++ b/src/cert/x509cert/x509_obj.cpp @@ -168,7 +168,7 @@ std::string X509_Object::hash_used_for_signature() const */ bool X509_Object::check_signature(Public_Key* pub_key) const { - std::auto_ptr<Public_Key> key(pub_key); + std::unique_ptr<Public_Key> key(pub_key); return check_signature(*key); } |