From 76efce4854bb96f8b5c0d6904606ea427ae2bd0d Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Fri, 12 Jan 2024 14:00:53 +0800 Subject: [PATCH] fix dont't use dup symbol --- src/ulib/status.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ulib/status.cpp b/src/ulib/status.cpp index be342bf..7b0123d 100644 --- a/src/ulib/status.cpp +++ b/src/ulib/status.cpp @@ -207,8 +207,8 @@ operator<<(std::ostream &os, Status const &s) os << ", domain=" << e.domain(); os << ", metadata={"; char const *sep = ""; - for (auto const &e : e.metadata()) { - os << sep << e.first << "=" << e.second; + for (auto const &item : e.metadata()) { + os << sep << item.first << "=" << item.second; sep = ", "; } return os << "}}";