diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-04-22 14:06:44 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-04-22 14:06:44 +0200 |
| commit | ebdeba46d38ed2aa9fe8025f28f69f67045264ae (patch) | |
| tree | 9080a5da34d29acd0120d9bb44c299b7106e65ea /modules/codec-json | |
| parent | 81fe18e7a966b96a238e971d0179744fb2ae63fe (diff) | |
| download | forstio-forstio-ebdeba46d38ed2aa9fe8025f28f69f67045264ae.tar.gz | |
Removed erroneous condition
Diffstat (limited to 'modules/codec-json')
| -rw-r--r-- | modules/codec-json/c++/json.tmpl.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/codec-json/c++/json.tmpl.hpp b/modules/codec-json/c++/json.tmpl.hpp index 039f066..0ff2a38 100644 --- a/modules/codec-json/c++/json.tmpl.hpp +++ b/modules/codec-json/c++/json.tmpl.hpp @@ -525,9 +525,11 @@ struct json_decode<schema::Primitive<T,N>, ToDecode> { * Hacky setup for float check */ if(do_loop && leading_zero){ + /* Wrong because this falls into a state where ',' is an error. if(buff.read(offset) != '.'){ return make_error<err::invalid_state>("Leading zero, but no '.' afterwards"); } + */ } while(do_loop){ |
