fix dont't use dup symbol
All checks were successful
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m6s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m8s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m20s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m18s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (pull_request) Successful in 1m12s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m22s
linux-mips64-gcc / linux-gcc-mips64el (push) Successful in 1m42s
linux-x64-gcc / linux-gcc (push) Successful in 1m57s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (pull_request) Successful in 1m12s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (pull_request) Successful in 1m14s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (pull_request) Successful in 1m10s
linux-hisiv500-gcc / linux-gcc-hisiv500 (pull_request) Successful in 1m21s
linux-mips64-gcc / linux-gcc-mips64el (pull_request) Successful in 1m36s
linux-x64-gcc / linux-gcc (pull_request) Successful in 1m49s

This commit is contained in:
tqcq 2024-01-12 14:00:53 +08:00
parent f4cc53b3ed
commit 76efce4854

View File

@ -207,8 +207,8 @@ operator<<(std::ostream &os, Status const &s)
os << ", domain=" << e.domain(); os << ", domain=" << e.domain();
os << ", metadata={"; os << ", metadata={";
char const *sep = ""; char const *sep = "";
for (auto const &e : e.metadata()) { for (auto const &item : e.metadata()) {
os << sep << e.first << "=" << e.second; os << sep << item.first << "=" << item.second;
sep = ", "; sep = ", ";
} }
return os << "}}"; return os << "}}";