diff options
Diffstat (limited to 'system')
-rwxr-xr-x | system/include/emscripten/bind.h | 3 |
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>() ; |