Cleared "explicit specialization has already been defined" under MSVC and Visual Studio 2015

pull/35/head
Jeffrey Walton 2015-07-26 11:27:36 -04:00
parent 5ab200bb68
commit 1997c21b37
1 changed files with 2 additions and 0 deletions

2
misc.h
View File

@ -370,6 +370,7 @@ inline bool SafeConvert(T1 from, T2 &to)
return true;
}
#ifndef CRYPTOPP_WIN32_AVAILABLE
// files.cpp, line 235
template<>
inline bool SafeConvert<size_t,std::streamsize>(size_t from, std::streamsize &to)
@ -379,6 +380,7 @@ inline bool SafeConvert<size_t,std::streamsize>(size_t from, std::streamsize &to
return false;
return true;
}
#endif
// files.cpp, line 366
template<>