-
JSONReporter: RoundDouble(): use std::lround() to round double to int · c22c266eRoman Lebedev authored
From clang-tidy bugprone-incorrect-roundings check: > casting (double + 0.5) to integer leads to incorrect rounding; consider using lround (#include <cmath>) instead
×