fix out of range
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 1m17s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m7s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m14s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m21s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (pull_request) Successful in 59s
linux-mips64-gcc / linux-gcc-mips64el (push) Successful in 1m30s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (pull_request) Successful in 1m0s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (pull_request) Successful in 59s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (pull_request) Successful in 59s
linux-x64-gcc / linux-gcc (push) Successful in 1m52s
linux-hisiv500-gcc / linux-gcc-hisiv500 (pull_request) Successful in 1m14s
linux-mips64-gcc / linux-gcc-mips64el (pull_request) Successful in 1m34s
linux-x64-gcc / linux-gcc (pull_request) Successful in 1m51s
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 1m17s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m7s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m14s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m21s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (pull_request) Successful in 59s
linux-mips64-gcc / linux-gcc-mips64el (push) Successful in 1m30s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (pull_request) Successful in 1m0s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (pull_request) Successful in 59s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (pull_request) Successful in 59s
linux-x64-gcc / linux-gcc (push) Successful in 1m52s
linux-hisiv500-gcc / linux-gcc-hisiv500 (pull_request) Successful in 1m14s
linux-mips64-gcc / linux-gcc-mips64el (pull_request) Successful in 1m34s
linux-x64-gcc / linux-gcc (pull_request) Successful in 1m51s
This commit is contained in:
parent
c98d702277
commit
e63273fa2b
@ -18,7 +18,7 @@ StrJoin(std::vector<nonstd::string_view> &vec,
|
||||
if (iter == vec.cend()) { return ""; }
|
||||
std::stringstream ss;
|
||||
ss << *iter;
|
||||
for (++iter; iter != iter + 1; ++iter) {
|
||||
for (++iter; iter != vec.cend(); ++iter) {
|
||||
if (ignore_empty_str && iter->empty()) { continue; }
|
||||
ss << delimiter << *iter;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user