]> git.tdb.fi Git - libs/core.git/blobdiff - source/fs/filemonitor.h
Add some missing includes
[libs/core.git] / source / fs / filemonitor.h
index e96aff66637d239b5fd31a996ce544d4eb385bbc..220b9697594178d0ad73489d662b08a88d8d77bf 100644 (file)
@@ -4,7 +4,6 @@
 #include <msp/core/noncopyable.h>
 #include <msp/fs/path.h>
 #include <msp/io/eventdispatcher.h>
-#include <msp/io/eventobject.h>
 
 namespace Msp {
 namespace FS {
@@ -17,16 +16,16 @@ private:
        struct MonitoredFile
        {
                FS::Path path;
-               bool modified;
-               int tag;
+               bool modified = false;
+               int tag = -1;
        };
 
 public:
        sigc::signal<void, const FS::Path &> signal_file_modified;
 
 private:
-       Private *priv;
-       IO::EventDispatcher *event_disp;
+       Private *priv = nullptr;
+       IO::EventDispatcher *event_disp = nullptr;
        std::vector<MonitoredFile> files;
 
 public: