Change ',' to '.' everywhere in buffer. * * We had a sophisticated way, but it did not work in WinCE. * @see https://github.com/open-source-parsers/jsoncpp/pull/9 */
| 160 | * @see https://github.com/open-source-parsers/jsoncpp/pull/9 |
| 161 | */ |
| 162 | static inline void fixNumericLocale(char* begin, char* end) { |
| 163 | while (begin < end) { |
| 164 | if (*begin == ',') { |
| 165 | *begin = '.'; |
| 166 | } |
| 167 | ++begin; |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | } // namespace Json { |
| 172 |