diff --git a/InnerDetector/InDetConditions/SCT_ConditionsAlgorithms/src/SCT_DetectorElementCondAlg.cxx b/InnerDetector/InDetConditions/SCT_ConditionsAlgorithms/src/SCT_DetectorElementCondAlg.cxx index 6834a1097f5687b2d716dd03bbf87e35b87a58bd..0b82033e137834572248ecf4867fd940da6e27ff 100644 --- a/InnerDetector/InDetConditions/SCT_ConditionsAlgorithms/src/SCT_DetectorElementCondAlg.cxx +++ b/InnerDetector/InDetConditions/SCT_ConditionsAlgorithms/src/SCT_DetectorElementCondAlg.cxx @@ -85,7 +85,7 @@ StatusCode SCT_DetectorElementCondAlg::execute(const EventContext& ctx) const oldEl->getCommonItems(), readCdo); oldToNewMap[oldEl] = *newEl; - newEl++; + ++newEl; } // Set neighbours and other side @@ -105,7 +105,7 @@ StatusCode SCT_DetectorElementCondAlg::execute(const EventContext& ctx) const if (layer) { newEl->surface().associateLayer(*layer); } - oldIt++; + ++oldIt; } // Apply alignment using readCdo passed to SiDetectorElement diff --git a/InnerDetector/InDetConditions/SCT_ConditionsTools/src/SCT_ByteStreamErrorsTool.cxx b/InnerDetector/InDetConditions/SCT_ConditionsTools/src/SCT_ByteStreamErrorsTool.cxx index 570b24adff60c660e601ad1f038ac72df2c096b3..66dccbd463e750538178fd62e6df155ad2b7f0da 100644 --- a/InnerDetector/InDetConditions/SCT_ConditionsTools/src/SCT_ByteStreamErrorsTool.cxx +++ b/InnerDetector/InDetConditions/SCT_ConditionsTools/src/SCT_ByteStreamErrorsTool.cxx @@ -432,7 +432,7 @@ std::pair<StatusCode, unsigned int> SCT_ByteStreamErrorsTool::getErrorCodeWithCa if (it == whereExected.end()) { ATH_MSG_ERROR("After fillData in abcdErrorChips, cache does not have an infomation about the " << moduleId); ATH_MSG_ERROR("Likely cause is a request for for different region"); - std::make_pair(StatusCode::FAILURE, 0); + return std::make_pair(StatusCode::FAILURE, 0); } return std::make_pair(StatusCode::SUCCESS, it->second); }