From 347dba8501a6c4deacc63afd0554fbfe5048104f Mon Sep 17 00:00:00 2001 From: find Date: Fri, 25 Jan 2019 07:02:48 +0800 Subject: [PATCH] delete zero width space characters 's to avoid MSVC warning C4819 (#5133) --- include/flatbuffers/util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/flatbuffers/util.h b/include/flatbuffers/util.h index 3bd8e978c..71e1973f1 100644 --- a/include/flatbuffers/util.h +++ b/include/flatbuffers/util.h @@ -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 @@ -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 inline bool StringToNumber(const char *s, T *val) {