removed exit clause

This commit is contained in:
Robin Müller 2020-06-04 20:59:52 +02:00
parent 4d59ddc3db
commit 3eca16ff78

View File

@ -93,7 +93,6 @@ T* ObjectManagerIF::get( object_id_t id ) {
if(objectManager == nullptr) {
sif::error << "ObjectManagerIF: Global object manager has not "
"been initialized yet!" << std::endl;
std::exit(0);
}
SystemObjectIF* temp = this->getSystemObject(id);
return dynamic_cast<T*>(temp);