diff options
author | Li Jin <dragon-fly@qq.com> | 2022-11-16 10:53:09 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2022-11-16 10:53:09 +0800 |
commit | cfe8c31260fe2fabba1a3ce77adb6a85fc1fae47 (patch) | |
tree | 1ed31c2958a59ce1c33efda14119e0a7997d47f6 /src/3rdParty/efsw/FileWatcherFSEvents.cpp | |
parent | 7ecfd8f02bad9ebba7e32894da278a48ef9ecee9 (diff) | |
download | yuescript-cfe8c31260fe2fabba1a3ce77adb6a85fc1fae47.tar.gz yuescript-cfe8c31260fe2fabba1a3ce77adb6a85fc1fae47.tar.bz2 yuescript-cfe8c31260fe2fabba1a3ce77adb6a85fc1fae47.zip |
fix build. update doc.
Diffstat (limited to 'src/3rdParty/efsw/FileWatcherFSEvents.cpp')
-rwxr-xr-x | src/3rdParty/efsw/FileWatcherFSEvents.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/3rdParty/efsw/FileWatcherFSEvents.cpp b/src/3rdParty/efsw/FileWatcherFSEvents.cpp index 970810d..bcfdbe6 100755 --- a/src/3rdParty/efsw/FileWatcherFSEvents.cpp +++ b/src/3rdParty/efsw/FileWatcherFSEvents.cpp | |||
@@ -41,7 +41,7 @@ bool FileWatcherFSEvents::isGranular() { | |||
41 | return getOSXReleaseNumber() >= 11; | 41 | return getOSXReleaseNumber() >= 11; |
42 | } | 42 | } |
43 | 43 | ||
44 | void FileWatcherFSEvents::FSEventCallback( ConstFSEventStreamRef streamRef, void* userData, | 44 | void FileWatcherFSEvents::FSEventCallback( ConstFSEventStreamRef /*streamRef*/, void* userData, |
45 | size_t numEvents, void* eventPaths, | 45 | size_t numEvents, void* eventPaths, |
46 | const FSEventStreamEventFlags eventFlags[], | 46 | const FSEventStreamEventFlags eventFlags[], |
47 | const FSEventStreamEventId eventIds[] ) { | 47 | const FSEventStreamEventId eventIds[] ) { |
@@ -208,8 +208,8 @@ void FileWatcherFSEvents::run() { | |||
208 | mRunLoopRef = NULL; | 208 | mRunLoopRef = NULL; |
209 | } | 209 | } |
210 | 210 | ||
211 | void FileWatcherFSEvents::handleAction( Watcher* watch, const std::string& filename, | 211 | void FileWatcherFSEvents::handleAction( Watcher* /*watch*/, const std::string& /*filename*/, |
212 | unsigned long action, std::string oldFilename ) { | 212 | unsigned long /*action*/, std::string /*oldFilename*/ ) { |
213 | /// Not used | 213 | /// Not used |
214 | } | 214 | } |
215 | 215 | ||