fix typo in win_crypto_provider assignment operator

This commit is contained in:
arvidn 2019-01-20 00:32:03 +01:00 committed by Arvid Norberg
parent f23daa8262
commit 08bceec4c7
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ namespace libtorrent { namespace aux {
crypt_hash(crypt_hash const& h) { m_hash = duplicate(h); }
~crypt_hash() { CryptDestroyHash(m_hash); }
crypt_hash& crypt_hash::operator=(crypt_hash const& h) &
crypt_hash& operator=(crypt_hash const& h) &
{
if (this == &h) return *this;
HCRYPTHASH temp = duplicate(h);