If you don't do anything, a CPU core will execute the loop at its full capacity.
To reduce CPU load, you have three possibilities, of which I recommend the third:
- sf::RenderWindow::setFramerateLimit()
- sf::sleep() -- manual approach for the framerate limit
- sf::RenderWindow::setVerticalSyncEnabled()
By the way, you can edit your post if you have something to add.