delete zero width space characters <U+200B>'s to avoid MSVC warning C4819 (#5133)

This commit is contained in:
find 2019-01-25 07:02:48 +08:00 committed by Wouter van Oortmerssen
parent fcacb46d01
commit 347dba8501
1 changed files with 2 additions and 2 deletions

View File

@ -272,7 +272,7 @@ inline void strtoval_impl(float *val, const char *str, char **endptr) {
//
// Return value (like strtoull and strtoll, but reject partial result):
// - If successful, an integer value corresponding to the str is returned.
// - If full string conversion can't be performed, 0 is returned.
// - If full string conversion can't be performed, 0 is returned.
// - If the converted value falls out of range of corresponding return type, a
// range error occurs. In this case value MAX(T)/MIN(T) is returned.
template<typename T>
@ -316,7 +316,7 @@ inline bool StringToFloatImpl(T *val, const char *const str) {
// Convert a string to an instance of T.
// Return value (matched with StringToInteger64Impl and strtod):
// - If successful, a numeric value corresponding to the str is returned.
// - If full string conversion can't be performed, 0 is returned.
// - If full string conversion can't be performed, 0 is returned.
// - If the converted value falls out of range of corresponding return type, a
// range error occurs. In this case value MAX(T)/MIN(T) is returned.
template<typename T> inline bool StringToNumber(const char *s, T *val) {