aboutsummaryrefslogtreecommitdiff
path: root/src/yue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/yue.cpp')
-rw-r--r--src/yue.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yue.cpp b/src/yue.cpp
index a30075d..0493205 100644
--- a/src/yue.cpp
+++ b/src/yue.cpp
@@ -264,7 +264,9 @@ static std::string compileFile(const fs::path& file, yue::YueConfig conf, const
264 return "Failed to read file: "s + srcFile.string() + '\n'; 264 return "Failed to read file: "s + srcFile.string() + '\n';
265 } 265 }
266} 266}
267#endif // YUE_NO_WATCHER
267 268
269#ifndef YUE_NO_WATCHER
268class UpdateListener : public efsw::FileWatchListener { 270class UpdateListener : public efsw::FileWatchListener {
269public: 271public:
270 void handleFileAction(efsw::WatchID, const std::string& dir, const std::string& filename, efsw::Action action, std::string) override { 272 void handleFileAction(efsw::WatchID, const std::string& dir, const std::string& filename, efsw::Action action, std::string) override {