aboutsummaryrefslogtreecommitdiffstats
path: root/src/Directory.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Directory.hxx')
-rw-r--r--src/Directory.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Directory.hxx b/src/Directory.hxx
index 97a16f085..928f04163 100644
--- a/src/Directory.hxx
+++ b/src/Directory.hxx
@@ -25,7 +25,6 @@
#include "gcc.h"
#include "DatabaseVisitor.hxx"
#include "PlaylistVector.hxx"
-#include "gerror.h"
#include <sys/types.h>
@@ -47,6 +46,7 @@
struct Song;
struct db_visitor;
class SongFilter;
+class Error;
struct Directory {
/**
@@ -251,7 +251,7 @@ public:
bool Walk(bool recursive, const SongFilter *match,
VisitDirectory visit_directory, VisitSong visit_song,
VisitPlaylist visit_playlist,
- GError **error_r) const;
+ Error &error) const;
};
static inline bool