mirror of
https://github.com/SFML/SFML.git
synced 2024-11-24 20:31:05 +08:00
Remove empty lamdba parenthesis
This commit is contained in:
parent
eeef7f9e02
commit
e8f59f9d4c
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user