Browse Source

[Minor] One more compatibility fix

tags/3.6
Vsevolod Stakhov 11 months ago
parent
commit
06f52fae3a
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/libutil/cxx/util.hxx

+ 1
- 1
src/libutil/cxx/util.hxx View File

while (*pos == chr && pos != input.end()) { while (*pos == chr && pos != input.end()) {
++pos; ++pos;
} }
auto last = std::string_view{pos, std::end(input)};
auto last = std::string_view{pos, static_cast<std::size_t>(std::distance(pos, std::end(input)))};


return {first, last}; return {first, last};
} }

Loading…
Cancel
Save