193 if (auto search = Update_Type_To_String_Message.find(updatedRec.updateType);
194 search != std::end(Update_Type_To_String_Message)) {
CID 1512733 (#1 of 1): Using invalid iterator (INVALIDATE_ITERATOR)
5. deref_iterator: Dereferencing iterator search though it is already past the end of its container.
195 std::cout << swoc::bwprint(text, search->second, updatedRec.recName) << '\n';
196 } else {
197 std::cout << "Oops we don't know how to handle the update status for '" << updatedRec.recName << "' ["
198 << updatedRec.updateType << "]\n";
199 }