mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 13:06:13 +01:00
remove cstyle default init
This commit is contained in:
1 parent
4c818c31ed
commit
84f580e207
1 file changed
+1
-1
@@ -37,7 +37,7 @@ namespace
|
||||
// Helper function for converting a SFML address to a CSFML one
|
||||
[[nodiscard]] sfIpAddress fromSFMLAddress(std::optional<sf::IpAddress> address)
|
||||
{
|
||||
sfIpAddress result = {0};
|
||||
sfIpAddress result{};
|
||||
|
||||
if (address)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user