json/tests
Juan Carlos Arevalo Baeza (JCAB) 5af4ec4f6b Resolve CI errors and use qualified std::uint64_t
The fix was relying on implicit conversions in the non-taken branch.
- Ordinarily (work on a C++20 codebase) I would have used `if constexpr` here, sidestepping the issue, but that's not available on C++11 so I didn't bother.
- So instead of an `if` statement, I used a compile-time constant to select the correct overload.
- This is arguably better in this case, anyway.

I was using function-style casts for typed constants, which I consider superior for constants, but the CI checks disagree, so changed all to `static_cast`.
- For some reason, the CI checks didn't point at all of them, so I hope I caught them all myself.

Built with clang14 and all unit tests pass.
2023-12-10 20:00:47 -08:00
..
abi JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
benchmarks JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
cmake_add_subdirectory JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
cmake_fetch_content JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
cmake_fetch_content2 JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
cmake_import JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
cmake_import_minver JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
cmake_target_include_directories JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
cuda_example JSON for Modern C++ 3.11.3 (#4222) 2023-11-28 22:36:31 +01:00
reports Reorganize directories (#3462) 2022-05-01 09:41:50 +02:00
src Resolve CI errors and use qualified std::uint64_t 2023-12-10 20:00:47 -08:00
thirdparty Fix CI (#4160) 2023-09-23 17:19:28 +02:00
CMakeLists.txt Accept NEW CMake policies up to CMake 3.14 (#4112) 2023-09-25 09:31:26 +02:00
fuzzing.md Document fuzzer usage (#3478) 2022-05-09 08:02:41 +02:00
Makefile Reorganize directories (#3462) 2022-05-01 09:41:50 +02:00