Remove empty lamdba parenthesis

This commit is contained in:
ZXShady 2024-10-08 02:08:19 +01:00 committed by Chris Thrasher
parent eeef7f9e02
commit e8f59f9d4c
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ bool glCheckError(const std::filesystem::path& file, unsigned int line, std::str
while (!sf::priv::glCheckError(__FILE__, static_cast<unsigned int>(__LINE__), #__VA_ARGS__)) \ while (!sf::priv::glCheckError(__FILE__, static_cast<unsigned int>(__LINE__), #__VA_ARGS__)) \
/* no-op */; \ /* no-op */; \
} \ } \
}([&]() { return __VA_ARGS__; }) }([&] { return __VA_ARGS__; })
#else #else
// Else, we don't add any overhead // Else, we don't add any overhead

View File

@ -81,7 +81,7 @@ bool eglCheckError(const std::filesystem::path& file, unsigned int line, std::st
while (!sf::priv::eglCheckError(__FILE__, static_cast<unsigned int>(__LINE__), #__VA_ARGS__)) \ while (!sf::priv::eglCheckError(__FILE__, static_cast<unsigned int>(__LINE__), #__VA_ARGS__)) \
/* no-op */; \ /* no-op */; \
} \ } \
}([&]() { return __VA_ARGS__; }) }([&] { return __VA_ARGS__; })
#else #else