util, io, net, ...: use "#pragma once"
This commit is contained in:
committed by
Max Kellermann
parent
313f2a1894
commit
be84b189dc
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user