mirror of
https://github.com/nlohmann/json.git
synced 2026-10-28 00:35:43 +00:00
The test relies on a copied fifo_map restarting its timestamps. Copying a basic_json does that only on the recursive path; with JSON_NO_THREAD_LOCAL the copy is built member by member and keeps correct timestamps, so the premise was missing and the test failed (ci_test_no_thread_local, MinGW clang). Copy the object_t explicitly to create the state on every path. Signed-off-by: Niels Lohmann <mail@nlohmann.me>