removed exit clause
This commit is contained in:
parent
4d59ddc3db
commit
3eca16ff78
@ -93,7 +93,6 @@ T* ObjectManagerIF::get( object_id_t id ) {
|
|||||||
if(objectManager == nullptr) {
|
if(objectManager == nullptr) {
|
||||||
sif::error << "ObjectManagerIF: Global object manager has not "
|
sif::error << "ObjectManagerIF: Global object manager has not "
|
||||||
"been initialized yet!" << std::endl;
|
"been initialized yet!" << std::endl;
|
||||||
std::exit(0);
|
|
||||||
}
|
}
|
||||||
SystemObjectIF* temp = this->getSystemObject(id);
|
SystemObjectIF* temp = this->getSystemObject(id);
|
||||||
return dynamic_cast<T*>(temp);
|
return dynamic_cast<T*>(temp);
|
||||||
|
Loading…
Reference in New Issue
Block a user