summaryrefslogtreecommitdiffstats
path: root/Source/cmFileMonitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmFileMonitor.h')
-rw-r--r--Source/cmFileMonitor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFileMonitor.h b/Source/cmFileMonitor.h
index e05f48d..48169b8 100644
--- a/Source/cmFileMonitor.h
+++ b/Source/cmFileMonitor.h
@@ -17,7 +17,7 @@ public:
~cmFileMonitor();
using Callback = std::function<void(const std::string&, int, int)>;
- void MonitorPaths(const std::vector<std::string>& paths, Callback cb);
+ void MonitorPaths(const std::vector<std::string>& paths, Callback const& cb);
void StopMonitoring();
std::vector<std::string> WatchedFiles() const;