Cleared "explicit specialization has already been defined" under MSVC and Visual Studio 2015
parent
5ab200bb68
commit
1997c21b37
2
misc.h
2
misc.h
|
|
@ -370,6 +370,7 @@ inline bool SafeConvert(T1 from, T2 &to)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef CRYPTOPP_WIN32_AVAILABLE
|
||||||
// files.cpp, line 235
|
// files.cpp, line 235
|
||||||
template<>
|
template<>
|
||||||
inline bool SafeConvert<size_t,std::streamsize>(size_t from, std::streamsize &to)
|
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 false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// files.cpp, line 366
|
// files.cpp, line 366
|
||||||
template<>
|
template<>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue