summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-01-21 14:34:12 +0100
committerMax Kellermann <max@musicpd.org>2019-01-21 14:34:12 +0100
commit037bb07d0884a51f953126d2fbc76094243d5249 (patch)
tree86141309fa4675a91b448ccd0e2a0d1579963154 /src
parent87635c5268238eea7a70f2be57dc2b2c07c08135 (diff)
db/VHelper: include DetachedSong.hxx to fix GCC 9 build failure
GCC 9's libstdc++ is unable to use forward-declared types as std::vector item because the compiler wants to resolve `noexcept()` on the item destructor.
Diffstat (limited to 'src')
-rw-r--r--src/db/VHelper.cxx1
-rw-r--r--src/db/VHelper.hxx1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/db/VHelper.cxx b/src/db/VHelper.cxx
index 210e1e5d8..03e764880 100644
--- a/src/db/VHelper.cxx
+++ b/src/db/VHelper.cxx
@@ -18,7 +18,6 @@
*/
#include "VHelper.hxx"
-#include "song/DetachedSong.hxx"
#include "song/LightSong.hxx"
#include "song/Filter.hxx"
diff --git a/src/db/VHelper.hxx b/src/db/VHelper.hxx
index ed6bbc2ef..45eefc119 100644
--- a/src/db/VHelper.hxx
+++ b/src/db/VHelper.hxx
@@ -22,6 +22,7 @@
#include "Visitor.hxx"
#include "Selection.hxx"
+#include "song/DetachedSong.hxx"
#include <vector>