Network/IpAddress: Add a parameter to exclude port from string

This commit is contained in:
SirLynix
2023-12-30 11:14:29 +01:00
parent 8e6ca9cb27
commit 69efb93671
2 changed files with 5 additions and 6 deletions

View File

@@ -49,7 +49,7 @@ namespace Nz
inline IPv4 ToIPv4() const;
inline IPv6 ToIPv6() const;
std::string ToString() const;
std::string ToString(bool includesPort = true) const;
inline UInt32 ToUInt32() const;
inline explicit operator bool() const;