Skip to content

Commit

Permalink
Update Util.h
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-johnson committed Dec 7, 2023
1 parent f60e442 commit f1ee54b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Util.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ template<typename T>
std::string join_strings(const std::vector<T> &sources, const std::string &delim) {
size_t sz = 0;
if (!sources.empty()) {
delim.size() * (sources.size() - 1);
sz += delim.size() * (sources.size() - 1);
}
for (const auto &s : sources) {
sz += s.size();
Expand Down

0 comments on commit f1ee54b

Please sign in to comment.