From bbbeade054dbda63ab385df67b70988132d7bca8 Mon Sep 17 00:00:00 2001 From: Pixel-Tony Date: Wed, 15 Jan 2025 23:25:35 +0100 Subject: [PATCH] Clean-up linter silencers --- include/SFML/Window/Event.inl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/SFML/Window/Event.inl b/include/SFML/Window/Event.inl index 2413f5879..124edfa12 100644 --- a/include/SFML/Window/Event.inl +++ b/include/SFML/Window/Event.inl @@ -108,10 +108,6 @@ decltype(auto) Event::visit(Ts&&... visitors) const static_assert((isValidHandler && ...), "All event handlers must accept a single parameter, either a const reference or a value"); - // Disable misc-const-correctness for this line since clang-tidy - // complains about it even though the code would become uncompilable - - // NOLINTNEXTLINE(misc-const-correctness) return std::visit(priv::OverloadSet{std::forward(visitors)..., [](const priv::DelayOverloadResolution&) { /* ignore */ }}, m_data);