From e777948a4d0c9cb7bf4303b778c4d29c85f137cf Mon Sep 17 00:00:00 2001 From: Benjamin Byholm Date: Sat, 4 Jul 2015 16:55:46 +0300 Subject: [PATCH] Fix GetFromPersistent type, which should be Value --- nan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nan.h b/nan.h index 3b570308..931594ac 100644 --- a/nan.h +++ b/nan.h @@ -1513,7 +1513,7 @@ class Callback { New(persistentHandle)->Get(New(key).ToLocalChecked())); } - NAN_INLINE v8::Local + NAN_INLINE v8::Local GetFromPersistent(const v8::Local &key) const { EscapableHandleScope scope; return scope.Escape(New(persistentHandle)->Get(key));