diff --git a/src/input/ThreadInputStream.hxx b/src/input/ThreadInputStream.hxx index 0accabb67..22ecd8e4b 100644 --- a/src/input/ThreadInputStream.hxx +++ b/src/input/ThreadInputStream.hxx @@ -1,8 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later // Copyright The Music Player Daemon Project -#ifndef MPD_THREAD_INPUT_STREAM_HXX -#define MPD_THREAD_INPUT_STREAM_HXX +#pragma once #include "InputStream.hxx" #include "thread/Thread.hxx" @@ -11,7 +10,7 @@ #include "util/CircularBuffer.hxx" #include -#include +#include #include /** @@ -42,9 +41,9 @@ class ThreadInputStream : public InputStream { std::exception_ptr postponed_exception; - HugeArray allocation; + HugeArray allocation; - CircularBuffer buffer; + CircularBuffer buffer; /** * Shall the stream be closed? @@ -137,5 +136,3 @@ protected: private: void ThreadFunc() noexcept; }; - -#endif