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 ZLIB_ERROR_HXX
#define ZLIB_ERROR_HXX
#pragma once
#include <exception>
@@ -18,5 +17,3 @@ public:
const char *what() const noexcept override;
};
#endif

View File

@@ -1,8 +1,7 @@
// SPDX-License-Identifier: BSD-2-Clause
// author: Max Kellermann <max.kellermann@gmail.com>
#ifndef GUNZIP_READER_HXX
#define GUNZIP_READER_HXX
#pragma once
#include "io/Reader.hxx"
#include "util/StaticFifoBuffer.hxx"
@@ -39,5 +38,3 @@ public:
private:
bool FillBuffer();
};
#endif