aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rwxr-xr-xsystem/include/emscripten/bind.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/include/emscripten/bind.h b/system/include/emscripten/bind.h
index 10d0d926..e5865971 100755
--- a/system/include/emscripten/bind.h
+++ b/system/include/emscripten/bind.h
@@ -780,8 +780,7 @@ namespace emscripten {
class_& allow_subclass() {
using namespace internal;
- // TODO: unique or anonymous name
- class_<WrapperType, base<ClassType>>("WrapperType")
+ class_<WrapperType, base<ClassType>>(typeid(WrapperType).name())
.template constructor<val>()
;