diff options
author | Bill Welden <bwelden@imvu.com> | 2013-01-08 07:47:45 -0800 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-04-12 14:22:57 +0300 |
commit | 27100ac1f5bce45edf19c52d17f76a0c319aba9e (patch) | |
tree | cd2499c7829e24ecba9c288d0e4cc614f0975e80 | |
parent | cd535236f6bb28f7a3856fff148a49c261563db5 (diff) |
Fix a lint error.
-rwxr-xr-x | src/embind/embind.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/embind/embind.js b/src/embind/embind.js index e02b9e01..1f8a6654 100755 --- a/src/embind/embind.js +++ b/src/embind/embind.js @@ -439,7 +439,7 @@ RegisteredPointer.prototype.toWireTypeAutoUpcast = function(destructors, handle) } else { fromRawType = handle.pointeeType.rawType; } - if (fromRawType == this.pointeeType.rawType) { + if (fromRawType === this.pointeeType.rawType) { return this.isSmartPointer ? handle.smartPointer : handle.ptr; } var ptr = ___staticPointerCast(handle.ptr, fromRawType, this.pointeeType.rawType); |