We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1f0525 commit 969c5cdCopy full SHA for 969c5cd
src/main.cpp
@@ -2,12 +2,12 @@
2
3
int main()
4
{
5
- auto window = sf::RenderWindow{ { 1920u, 1080u }, "CMake SFML Project" };
+ auto window = sf::RenderWindow({1920u, 1080u}, "CMake SFML Project");
6
window.setFramerateLimit(144);
7
8
while (window.isOpen())
9
10
- for (auto event = sf::Event{}; window.pollEvent(event);)
+ for (auto event = sf::Event(); window.pollEvent(event);)
11
12
if (event.type == sf::Event::Closed)
13
0 commit comments