mirror of
https://github.com/SFML/SFML.git
synced 2024-11-24 20:31:05 +08:00
Add '[[nodiscard]]' to 'IpAddress::resolve'
This commit is contained in:
parent
753644a5bd
commit
58b4346895
@ -56,7 +56,7 @@ public:
|
|||||||
/// \param address IP address or network name
|
/// \param address IP address or network name
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
static std::optional<IpAddress> resolve(std::string_view address);
|
[[nodiscard]] static std::optional<IpAddress> resolve(std::string_view address);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Construct the address from 4 bytes
|
/// \brief Construct the address from 4 bytes
|
||||||
|
Loading…
Reference in New Issue
Block a user