diff options
Diffstat (limited to 'system/lib/embind/bind.cpp')
-rwxr-xr-x | system/lib/embind/bind.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/lib/embind/bind.cpp b/system/lib/embind/bind.cpp index bc1e09ee..c69c4399 100755 --- a/system/lib/embind/bind.cpp +++ b/system/lib/embind/bind.cpp @@ -161,12 +161,12 @@ namespace emscripten { offset = __cxxabiv1::__pathOffset(paths[i]);
} else {
if (offset != __cxxabiv1::__pathOffset(paths[i])) {
- return (void *)-2; // ambiguous cast -- throw instead?
+ return (void *)-2;
}
}
}
if (offset < 0) {
- return (void *)-1; // types are not related -- throw instead?
+ return (void *)-1;
}
if (p == 0) {
return (void *)0;
|