summaryrefslogtreecommitdiffstats
path: root/Source/cmFileMonitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmFileMonitor.h')
-rw-r--r--Source/cmFileMonitor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmFileMonitor.h b/Source/cmFileMonitor.h
index 7ffc929..b510a2c 100644
--- a/Source/cmFileMonitor.h
+++ b/Source/cmFileMonitor.h
@@ -5,6 +5,7 @@
#include "cmConfigure.h" // IWYU pragma: keep
#include <functional>
+#include <memory>
#include <string>
#include <vector>
@@ -30,5 +31,5 @@ public:
std::vector<std::string> WatchedDirectories() const;
private:
- cmRootWatcher* Root;
+ std::unique_ptr<cmRootWatcher> Root;
};