From 08bceec4c7c31316f1acb0b62c44b97ffa40fdeb Mon Sep 17 00:00:00 2001 From: arvidn Date: Sun, 20 Jan 2019 00:32:03 +0100 Subject: [PATCH] fix typo in win_crypto_provider assignment operator --- include/libtorrent/aux_/win_crypto_provider.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libtorrent/aux_/win_crypto_provider.hpp b/include/libtorrent/aux_/win_crypto_provider.hpp index 51cdc1f2f..8b98b4384 100644 --- a/include/libtorrent/aux_/win_crypto_provider.hpp +++ b/include/libtorrent/aux_/win_crypto_provider.hpp @@ -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);