exti code is one

This commit is contained in:
Robin Müller 2020-06-04 14:13:24 +02:00
parent bbfc7029a1
commit 93ef4eb56b

View File

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