exti code is one
This commit is contained in:
parent
bbfc7029a1
commit
93ef4eb56b
@ -87,7 +87,7 @@ 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);
|
std::exit(1);
|
||||||
}
|
}
|
||||||
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