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 */
| 155 | * @see https://github.com/open-source-parsers/jsoncpp/pull/9 |
| 156 | */ |
| 157 | static inline void fixNumericLocale(char* begin, char* end) { |
| 158 | while (begin < end) { |
| 159 | if (*begin == ',') { |
| 160 | *begin = '.'; |
| 161 | } |
| 162 | ++begin; |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | } // namespace Json { |
| 167 |