1
0
Fork 0

Fixed the warning in CryptoPP.

It was getting on my nerves too much, decided to actually fix their code.
This commit is contained in:
madmaxoft 2014-01-11 20:26:57 +01:00
parent 5417f7bd2d
commit 7fa5217aad
1 changed files with 1 additions and 1 deletions

View File

@ -545,7 +545,7 @@ inline void SecureWipeArray(T *buf, size_t n)
}
// this function uses wcstombs(), which assumes that setlocale() has been called
static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
inline std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
{
#ifdef _MSC_VER
#pragma warning(push)