Couple of assertions

This commit is contained in:
2022-11-12 01:38:52 -08:00
parent d81cb5d834
commit 489416a5eb
4 changed files with 5 additions and 1 deletions

View File

@ -50,6 +50,7 @@ namespace Dawn {
template<class T>
T * addComponent() {
auto component = new T(this);
assertNotNull(component);
this->components.push_back(component);
return component;
}