Commit 9aee96e
Update bench_ransTPC.cxx
The valid use of `rapidjson::Writer::Flush` cannot be detected.
`rapidjson::Writer::Flush` was introduced 15th of March, 2017, _without_ updating the version number (last version update is from 25th of August, 2016 from 1.0.2 to 1.1.0). The authors of `rapidjson` should really get their act together and bump the version when they change the API.
Note that `rapidjson::Writer::Flush` simply calls
`rapidjson::OStreamWrapper::Flush`.
Thus, to ensure maximum compatibility with the last versioned `rapidjson` (present on Ubuntu, f.ex.) this changes the call according.1 parent 4c0f566 commit 9aee96e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
381 | | - | |
| 381 | + | |
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
| 390 | + | |
0 commit comments