1
0
forked from fsfw/fsfw

small improvements for object manager.cpp

exit removed for get function
This commit is contained in:
2020-06-04 21:05:08 +02:00
parent 93ef4eb56b
commit 365f9f8434
2 changed files with 5 additions and 6 deletions

View File

@ -87,7 +87,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(1);
}
SystemObjectIF* temp = this->getSystemObject(id);
return dynamic_cast<T*>(temp);