diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-02-05 12:35:39 -0500 |
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-02-05 13:56:21 -0500 |
| commit | e47b5e6a26a2317bfd56f02b52694e7c511dbf7e (patch) | |
| tree | dd74d3fc6ba14a0de5e88778cad5b5c65fcba248 /src/input_common/drivers/udp_client.cpp | |
| parent | 26f74468c491731d06d669cda054e12c63cb0669 (diff) | |
general: Rename NewUUID to UUID, and remove the previous UUID impl
This completes the removal of the old UUID implementation.
Diffstat (limited to 'src/input_common/drivers/udp_client.cpp')
| -rw-r--r-- | src/input_common/drivers/udp_client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/drivers/udp_client.cpp b/src/input_common/drivers/udp_client.cpp index cbcfa7a4bb..64162f4312 100644 --- a/src/input_common/drivers/udp_client.cpp +++ b/src/input_common/drivers/udp_client.cpp @@ -351,10 +351,10 @@ PadIdentifier UDPClient::GetPadIdentifier(std::size_t pad_index) const { }; } -Common::NewUUID UDPClient::GetHostUUID(const std::string& host) const { +Common::UUID UDPClient::GetHostUUID(const std::string& host) const { const auto ip = boost::asio::ip::make_address_v4(host); const auto hex_host = fmt::format("00000000-0000-0000-0000-0000{:06x}", ip.to_uint()); - return Common::NewUUID{hex_host}; + return Common::UUID{hex_host}; } void UDPClient::Reset() { |
