From 78b0ff83e863acd3bd0ebca18232a8d2c5facf9d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 27 May 2021 15:52:45 +0200 Subject: [PATCH] client/Response: include cleanup --- src/client/Response.cxx | 2 -- src/client/Response.hxx | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/client/Response.cxx b/src/client/Response.cxx index 9f671b607..aeede609d 100644 --- a/src/client/Response.cxx +++ b/src/client/Response.cxx @@ -19,8 +19,6 @@ #include "Response.hxx" #include "Client.hxx" -#include "util/FormatString.hxx" -#include "util/AllocatedString.hxx" #include diff --git a/src/client/Response.hxx b/src/client/Response.hxx index a8b4f8de4..a34b16851 100644 --- a/src/client/Response.hxx +++ b/src/client/Response.hxx @@ -21,7 +21,6 @@ #define MPD_RESPONSE_HXX #include "protocol/Ack.hxx" -#include "util/Compiler.h" #include #if FMT_VERSION < 70000 @@ -69,7 +68,7 @@ public: * Accessor for Client::tag_mask. Can be used if caller wants * to avoid including Client.hxx. */ - gcc_pure + [[gnu::pure]] TagMask GetTagMask() const noexcept; void SetCommand(const char *_command) noexcept {