From 79b705df85e15f6e6de60c4aa0d2c5260dedd16b Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Fri, 10 Jun 2016 17:13:10 +0200 Subject: [PATCH] Add virtual func return values in `DirectoryWatcher` for less warnings when compiling on pi --- src/MediaServer/DirectoryWatcher.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MediaServer/DirectoryWatcher.h b/src/MediaServer/DirectoryWatcher.h index cde455e..7ba5fa5 100644 --- a/src/MediaServer/DirectoryWatcher.h +++ b/src/MediaServer/DirectoryWatcher.h @@ -19,7 +19,7 @@ class BasePathFilter : public ofx::IO::AbstractPathFilter { public: BasePathFilter(){} virtual ~BasePathFilter(){} - virtual bool accept(const Poco::Path & path) const {} + virtual bool accept(const Poco::Path & path) const { return false; } }; class VideoPathFilter : public BasePathFilter {