From afda3b2fa063b8d45b5b725ad2a36822041dc4d8 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Sun, 3 Jan 2021 14:00:29 +0100 Subject: [PATCH] small tweak --- objectmanager/ObjectManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objectmanager/ObjectManager.cpp b/objectmanager/ObjectManager.cpp index 12f4ef4f..a7e3ac4c 100644 --- a/objectmanager/ObjectManager.cpp +++ b/objectmanager/ObjectManager.cpp @@ -81,8 +81,8 @@ void ObjectManager::initialize() { for (auto const& it : objectList) { result = it.second->initialize(); if ( result != RETURN_OK ) { - object_id_t var = it.first; #if CPP_OSTREAM_ENABLED == 1 + object_id_t var = it.first; sif::error << "ObjectManager::initialize: Object 0x" << std::hex << std::setw(8) << std::setfill('0')<< var << " failed to " "initialize with code 0x" << result << std::dec <<