Skip to content

Commit

Permalink
ClassMapper: fix assert
Browse files Browse the repository at this point in the history
  • Loading branch information
paraboul committed Oct 13, 2016
1 parent 1fbfee7 commit 62eab27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Binding/ClassMapper.h
Expand Up @@ -132,7 +132,7 @@ class ClassMapper
if (jsclass != ClassMapper<T>::GetJSClass()) {
printf("[Debug] JSClass is overriden for %s\n", name);
}
assert(jsclass->name == NULL);
assert(jsclass->name == NULL || strcmp(jsclass->name, name) == 0);
#endif

jsclass->name = name;
Expand Down

0 comments on commit 62eab27

Please sign in to comment.