From 037bb07d0884a51f953126d2fbc76094243d5249 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 21 Jan 2019 14:34:12 +0100 Subject: [PATCH] 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. --- src/db/VHelper.cxx | 1 - src/db/VHelper.hxx | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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