net/ToString: use #pragma once

This commit is contained in:
Max Kellermann 2023-09-18 22:01:39 +02:00
parent 592649d3f2
commit b36f5f1ec4

View File

@ -1,8 +1,7 @@
// SPDX-License-Identifier: BSD-2-Clause // SPDX-License-Identifier: BSD-2-Clause
// author: Max Kellermann <max.kellermann@gmail.com> // author: Max Kellermann <max.kellermann@gmail.com>
#ifndef NET_TO_STRING_HXX #pragma once
#define NET_TO_STRING_HXX
#include <string> #include <string>
@ -23,5 +22,3 @@ ToString(SocketAddress address) noexcept;
[[gnu::pure]] [[gnu::pure]]
std::string std::string
HostToString(SocketAddress address) noexcept; HostToString(SocketAddress address) noexcept;
#endif