From 47aabd5ef9750eae66a0b3a79874c4a70bd80774 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Tue, 6 Aug 2024 16:48:59 -0230 Subject: [PATCH] Fix warning for rand(); NOLINT for now, as the proper fix isn't until C++23. --- src/emucore/tia/frame-manager/FrameManager.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/emucore/tia/frame-manager/FrameManager.hxx b/src/emucore/tia/frame-manager/FrameManager.hxx index 092c68ca8..9693d42c4 100644 --- a/src/emucore/tia/frame-manager/FrameManager.hxx +++ b/src/emucore/tia/frame-manager/FrameManager.hxx @@ -34,7 +34,8 @@ class FrameManager: public AbstractFrameManager { frameSizePAL = 312, baseHeightNTSC = 228, // 217..239 baseHeightPAL = 274, // 260..288 - maxHeight = static_cast(baseHeightPAL * 1.05 + 0.5), // 288 FIXME + // NOLINTNEXTLINE: lround suggested, but not constexpr until C++23 + maxHeight = static_cast(baseHeightPAL * 1.05 + 0.5), // 288 maxLinesVsync = 50, initialGarbageFrames = TIAConstants::initialGarbageFrames, ystartNTSC = 23,