blob: 68ccb65835ed2dc1a19f7360474aa5346fb73f10 [file] [log] [blame]
Andrew Geissler69721092021-07-23 12:57:00 -04001From 9bb962148672a3c20fb0119d7f71789b8ef3dc02 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 29 Jun 2021 19:31:34 -0700
4Subject: [PATCH] include <utility> for std::forward
5
6Fixes
7../git/src/Log.hxx:121:42: error: no member named 'forward' in namespace 'std'
8 LogFormat(LogLevel::ERROR, e, fmt, std::forward<Args>(args)...);
9
10Upstream-Status: Submitted [https://github.com/MusicPlayerDaemon/MPD/pull/1201]
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 src/Log.hxx | 1 +
14 src/lib/expat/ExpatParser.hxx | 1 +
15 2 files changed, 2 insertions(+)
16
17diff --git a/src/Log.hxx b/src/Log.hxx
18index a295ed9f6..87097b086 100644
19--- a/src/Log.hxx
20+++ b/src/Log.hxx
21@@ -24,6 +24,7 @@
22 #include "util/Compiler.h"
23
24 #include <exception>
25+#include <utility>
26
27 class Domain;
28
29diff --git a/src/lib/expat/ExpatParser.hxx b/src/lib/expat/ExpatParser.hxx
30index e1723d109..4b5221e89 100644
31--- a/src/lib/expat/ExpatParser.hxx
32+++ b/src/lib/expat/ExpatParser.hxx
33@@ -25,6 +25,7 @@
34 #include <expat.h>
35
36 #include <stdexcept>
37+#include <utility>
38
39 class InputStream;
40
41--
422.32.0
43