Permalink
Browse files

fix Saves/ appearing before all saves in local save browser

  • Loading branch information...
jacob1 committed Jun 5, 2018
1 parent 0e383e1 commit 01b9a7c7e893a5fe9bdd556b3e39cf186b61170e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/common/String.h
@@ -252,7 +252,7 @@ class ByteString : public std::basic_string<char>
inline Split SplitByAny(ByteString const &str, size_t pos = 0) const { return Split(*this, pos, super::find_first_of(str, pos), 1, false); }
inline Split SplitByNot(ByteString const &str, size_t pos = 0) const { return Split(*this, pos, super::find_first_not_of(str, pos), 1, false); }
inline Split SplitFromEndBy(value_type ch, size_t pos = npos) const { return Split(*this, pos, super::rfind(ch, pos), 1, true); }
inline Split SplitFromEndBy(ByteString const &str, size_t pos = npos) const { return Split(*this, pos, super::find(str, pos), str.size(), true); }
inline Split SplitFromEndBy(ByteString const &str, size_t pos = npos) const { return Split(*this, pos, super::rfind(str, pos), str.size(), true); }
inline Split SplitFromEndByAny(ByteString const &str, size_t pos = npos) const { return Split(*this, pos, super::find_last_of(str, pos), 1, true); }
inline Split SplitFromEndByNot(ByteString const &str, size_t pos = npos) const { return Split(*this, pos, super::find_last_not_of(str, pos), 1, true); }
private:

0 comments on commit 01b9a7c

Please sign in to comment.