We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 060141c commit e8fd808Copy full SHA for e8fd808
src/node_object_wrap.h
@@ -26,6 +26,12 @@
26
#include "v8.h"
27
#include <assert.h>
28
29
+// Explicitly instantiate some template classes, so we're sure they will be
30
+// present in the binary / shared object. There isn't much doubt that they will
31
+// be, but MSVC tends to complain about these things.
32
+template class NODE_EXTERN v8::Persistent<v8::Object>;
33
+template class NODE_EXTERN v8::Persistent<v8::FunctionTemplate>;
34
+
35
namespace node {
36
37
class NODE_EXTERN ObjectWrap {
0 commit comments