diff --git a/src/lib/yajl/Callbacks.hxx b/src/lib/yajl/Callbacks.hxx index 643c3a0cd..0fde0fcf8 100644 --- a/src/lib/yajl/Callbacks.hxx +++ b/src/lib/yajl/Callbacks.hxx @@ -27,13 +27,12 @@ * OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef YAJL_CALLBACKS_HXX -#define YAJL_CALLBACKS_HXX +#pragma once #include "util/Cast.hxx" #include "util/StringView.hxx" -#include +#include namespace Yajl { @@ -81,5 +80,3 @@ struct CallbacksWrapper { }; } // namespace Yajl - -#endif diff --git a/src/lib/yajl/Gen.hxx b/src/lib/yajl/Gen.hxx index 14ea7ec7e..f7a88e187 100644 --- a/src/lib/yajl/Gen.hxx +++ b/src/lib/yajl/Gen.hxx @@ -27,12 +27,11 @@ * OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef YAJL_GEN_HXX -#define YAJL_GEN_HXX +#pragma once #include "util/ConstBuffer.hxx" -#include +#include #include #include @@ -101,5 +100,3 @@ public: }; } // namespace Yajl - -#endif diff --git a/src/lib/yajl/Handle.hxx b/src/lib/yajl/Handle.hxx index 6b87883ba..abd5989e0 100644 --- a/src/lib/yajl/Handle.hxx +++ b/src/lib/yajl/Handle.hxx @@ -27,10 +27,9 @@ * OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef YAJL_HANDLE_HXX -#define YAJL_HANDLE_HXX +#pragma once -#include +#include #include @@ -82,5 +81,3 @@ private: }; } // namespace Yajl - -#endif