From b36f5f1ec4e00d1dd36436efd70d433b4fda13eb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 18 Sep 2023 22:01:39 +0200 Subject: [PATCH] net/ToString: use #pragma once --- src/net/ToString.hxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/net/ToString.hxx b/src/net/ToString.hxx index 4d92c408c..939efcf51 100644 --- a/src/net/ToString.hxx +++ b/src/net/ToString.hxx @@ -1,8 +1,7 @@ // SPDX-License-Identifier: BSD-2-Clause // author: Max Kellermann -#ifndef NET_TO_STRING_HXX -#define NET_TO_STRING_HXX +#pragma once #include @@ -23,5 +22,3 @@ ToString(SocketAddress address) noexcept; [[gnu::pure]] std::string HostToString(SocketAddress address) noexcept; - -#endif