net/ToString: use #pragma once
This commit is contained in:
parent
592649d3f2
commit
b36f5f1ec4
|
@ -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
|
|
||||||
|
|
Loading…
Reference in New Issue