aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/embind/embind.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/embind/embind.js b/src/embind/embind.js
index 1953542a..4cf58028 100644
--- a/src/embind/embind.js
+++ b/src/embind/embind.js
@@ -421,7 +421,6 @@ function __embind_register_smart_ptr(
return new Handle(ptr);
},
toWireType: function(destructors, o) {
- return o.smartPointer;
if (null === o) {
return 0;
} else {