Skip to content

Commit 4b259e9

Browse files
committed
fixed typo
1 parent f22d98a commit 4b259e9

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/addon.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include <string>
33
#include <node.h>
44
#include <node_object_wrap.h>
5+
template <class T> using CopyablePersistent = v8::Persistent<T, v8::CopyablePersistentTraits<T>>;
56

67
struct Addon {
78
CopyablePersistent<v8::Function> constructor;

src/macros.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,3 @@ void SetPrototypeGetter(
101101
v8::AccessorSignature::New(isolate, recv)
102102
);
103103
}
104-
105-
#hdr
106-
template <class T> using CopyablePersistent = v8::Persistent<T, v8::CopyablePersistentTraits<T>>;
107-
#end

0 commit comments

Comments
 (0)