util, io, net, ...: use "#pragma once"

This commit is contained in:
Max Kellermann
2024-02-26 13:01:12 +01:00
committed by Max Kellermann
parent 313f2a1894
commit be84b189dc
32 changed files with 32 additions and 128 deletions

View File

@@ -1,8 +1,7 @@
// SPDX-License-Identifier: BSD-2-Clause
// author: Max Kellermann <max.kellermann@gmail.com>
#ifndef UNIQUE_FILE_DESCRIPTOR_HXX
#define UNIQUE_FILE_DESCRIPTOR_HXX
#pragma once
#include "FileDescriptor.hxx" // IWYU pragma: export
@@ -72,5 +71,3 @@ public:
return IsDefined() && FileDescriptor::Close();
}
};
#endif