net/ToString: use #pragma once

This commit is contained in:
Max Kellermann 2023-09-18 22:01:39 +02:00
parent 592649d3f2
commit b36f5f1ec4
1 changed files with 1 additions and 4 deletions

View File

@ -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