net/ToString: use #pragma once
This commit is contained in:
parent
592649d3f2
commit
b36f5f1ec4
|
@ -1,8 +1,7 @@
|
|||
// SPDX-License-Identifier: BSD-2-Clause
|
||||
// author: Max Kellermann <max.kellermann@gmail.com>
|
||||
|
||||
#ifndef NET_TO_STRING_HXX
|
||||
#define NET_TO_STRING_HXX
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -23,5 +22,3 @@ ToString(SocketAddress address) noexcept;
|
|||
[[gnu::pure]]
|
||||
std::string
|
||||
HostToString(SocketAddress address) noexcept;
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue