From: Jiri Vlasak Date: Wed, 28 Aug 2019 14:26:06 +0000 (+0200) Subject: Output JSON slot (from JSON input) X-Git-Tag: v0.7.0~1^2~6 X-Git-Url: https://rtime.felk.cvut.cz/gitweb/hubacji1/iamcar.git/commitdiff_plain/453f75981c149018c154b6012ae00492aeb85393 Output JSON slot (from JSON input) --- diff --git a/base/main.cc b/base/main.cc index a00c305..f65d560 100644 --- a/base/main.cc +++ b/base/main.cc @@ -179,6 +179,10 @@ int main() } } + if (jvi["slot"] != Json::nullValue) { + jvo["slot"] = jvi["slot"]; + } + std::vector co; std::vector so; p.HMIN = p.root()->x();