diff --git a/source/mijin/util/string.hpp b/source/mijin/util/string.hpp index 54efcc0..afaa00d 100644 --- a/source/mijin/util/string.hpp +++ b/source/mijin/util/string.hpp @@ -37,7 +37,7 @@ std::string join(const TRange& elements, const char* const delimiter) if (first != last) { std::copy(first, std::prev(last), std::ostream_iterator(oss, delimiter)); - first = prev(last); + first = std::prev(last); } if (first != last) {