mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-27 13:36:12 +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
|
// Helper function for converting a SFML address to a CSFML one
|
||||||
[[nodiscard]] sfIpAddress fromSFMLAddress(std::optional<sf::IpAddress> address)
|
[[nodiscard]] sfIpAddress fromSFMLAddress(std::optional<sf::IpAddress> address)
|
||||||
{
|
{
|
||||||
sfIpAddress result = {0};
|
sfIpAddress result{};
|
||||||
|
|
||||||
if (address)
|
if (address)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user