db/update/ExcludeList: add missing #ifdef

This commit is contained in:
Max Kellermann 2018-10-01 08:40:13 +02:00
parent 608d232373
commit 8736a3533b

View File

@ -35,6 +35,8 @@
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
#ifdef HAVE_CLASS_GLOB
inline void inline void
ExcludeList::ParseLine(char *line) noexcept ExcludeList::ParseLine(char *line) noexcept
{ {
@ -43,6 +45,8 @@ ExcludeList::ParseLine(char *line) noexcept
patterns.emplace_front(p); patterns.emplace_front(p);
} }
#endif
bool bool
ExcludeList::Load(InputStreamPtr is) ExcludeList::Load(InputStreamPtr is)
{ {