File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,9 @@ class FunctionCallbackInfo {
106106 }
107107
108108#if NODE_MAJOR_VERSION < 10
109- inline v8::Local<v8::Function> Callee () const { return info_.Callee (); }
109+ NAN_DEPRECATED inline v8::Local<v8::Function> Callee () const {
110+ return info_.Callee ();
111+ }
110112#endif
111113 inline v8::Local<v8::Value> Data () const { return data_; }
112114 inline v8::Local<v8::Object> Holder () const { return info_.Holder (); }
Original file line number Diff line number Diff line change @@ -136,7 +136,9 @@ class FunctionCallbackInfo {
136136 return ReturnValue<T>(return_value_);
137137 }
138138
139- inline v8::Local<v8::Function> Callee () const { return args_.Callee (); }
139+ NAN_DEPRECATED inline v8::Local<v8::Function> Callee () const {
140+ return args_.Callee ();
141+ }
140142 inline v8::Local<v8::Value> Data () const { return data_; }
141143 inline v8::Local<v8::Object> Holder () const { return args_.Holder (); }
142144 inline bool IsConstructCall () const { return args_.IsConstructCall (); }
You can’t perform that action at this time.
0 commit comments