From e8f59f9d4ca0b45ca89a3460b1c3cb234d909c88 Mon Sep 17 00:00:00 2001 From: ZXShady <153229951+ZXShady@users.noreply.github.com> Date: Tue, 8 Oct 2024 02:08:19 +0100 Subject: [PATCH] Remove empty lamdba parenthesis --- src/SFML/Graphics/GLCheck.hpp | 2 +- src/SFML/Window/EGLCheck.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SFML/Graphics/GLCheck.hpp b/src/SFML/Graphics/GLCheck.hpp index ef11943c8..c3d99dadf 100644 --- a/src/SFML/Graphics/GLCheck.hpp +++ b/src/SFML/Graphics/GLCheck.hpp @@ -80,7 +80,7 @@ bool glCheckError(const std::filesystem::path& file, unsigned int line, std::str while (!sf::priv::glCheckError(__FILE__, static_cast(__LINE__), #__VA_ARGS__)) \ /* no-op */; \ } \ - }([&]() { return __VA_ARGS__; }) + }([&] { return __VA_ARGS__; }) #else // Else, we don't add any overhead diff --git a/src/SFML/Window/EGLCheck.hpp b/src/SFML/Window/EGLCheck.hpp index 4ca6247cb..3d0bb030b 100644 --- a/src/SFML/Window/EGLCheck.hpp +++ b/src/SFML/Window/EGLCheck.hpp @@ -81,7 +81,7 @@ bool eglCheckError(const std::filesystem::path& file, unsigned int line, std::st while (!sf::priv::eglCheckError(__FILE__, static_cast(__LINE__), #__VA_ARGS__)) \ /* no-op */; \ } \ - }([&]() { return __VA_ARGS__; }) + }([&] { return __VA_ARGS__; }) #else