Skip to content

Commit

Permalink
[*] linux
Browse files Browse the repository at this point in the history
  • Loading branch information
acgist committed Mar 5, 2024
1 parent 00ebb3c commit 354f660
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/header/Collections.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ std::string join(T& collection, const std::string& delim) {
if(collection.empty()) {
return ret;
}
T::iterator iter = collection.begin();
const T::const_iterator end = collection.end();
const T::const_iterator last = collection.end() - 1;
typename ::iterator iter = collection.begin();
const typename T::const_iterator end = collection.end();
const typename T::const_iterator last = collection.end() - 1;
for (; iter != end; ++iter) {
ret += std::to_string(*iter);
if (iter != last) {
Expand Down

0 comments on commit 354f660

Please sign in to comment.