Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix assert in diary info panel clamp (CleverRaven#73758)
with -D_GLIBCXX_ASSERTIONS=1, libstdc++ will assert when `lo > hi` in std::clamp, and it is described as undefined behavior in https://en.cppreference.com/w/cpp/algorithm/clamp. fix the arguments to avoid it.
- Loading branch information