small tweak

This commit is contained in:
Robin Müller 2021-01-03 14:00:29 +01:00
parent c19e628d79
commit afda3b2fa0

View File

@ -81,8 +81,8 @@ void ObjectManager::initialize() {
for (auto const& it : objectList) { for (auto const& it : objectList) {
result = it.second->initialize(); result = it.second->initialize();
if ( result != RETURN_OK ) { if ( result != RETURN_OK ) {
object_id_t var = it.first;
#if CPP_OSTREAM_ENABLED == 1 #if CPP_OSTREAM_ENABLED == 1
object_id_t var = it.first;
sif::error << "ObjectManager::initialize: Object 0x" << std::hex << sif::error << "ObjectManager::initialize: Object 0x" << std::hex <<
std::setw(8) << std::setfill('0')<< var << " failed to " std::setw(8) << std::setfill('0')<< var << " failed to "
"initialize with code 0x" << result << std::dec << "initialize with code 0x" << result << std::dec <<