-
Notifications
You must be signed in to change notification settings - Fork 499
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use clang++ / g++ syntax extension.
Replace `wbcd->invoke` with `WeakCallbackInfo<P>::invoke` when passing it as a callback. The former is not proper syntax although sometimes (but not always) accepted by compilers. Should fix the following build error that people have been reporting: nan_weak.h:363:42: error: cannot create a non-constant pointer to member function v8::PersistentBase<T>::SetWeak(wcbd, wcbd->invoke); Fixes: fsevents/fsevents#80 PR-URL: #404 Reviewed-By: Benjamin Byholm <bbyholm@abo.fi>
- Loading branch information
1 parent
e6fe13b
commit 231450e
Showing
1 changed file
with
17 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters