diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-06-21 12:45:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-06-21 12:45:26 +0200 |
commit | b71d1206ba5ce6048652eb114e744d40de2e5d87 (patch) | |
tree | 28234baf761312b32e945f244db689c826f77b52 | |
parent | 095cffecbd6c34105468c42414cef445dc1c0998 (diff) |
Add missing std:: qualification
-rw-r--r-- | libbutl/utility.ixx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbutl/utility.ixx b/libbutl/utility.ixx index d1c8421..6501bf7 100644 --- a/libbutl/utility.ixx +++ b/libbutl/utility.ixx @@ -175,7 +175,7 @@ namespace butl return next_word (s, s.size (), b, e, d1, d2); } - inline size_t + inline std::size_t next_word (const std::string& s, std::size_t n, std::size_t& b, std::size_t& e, char d1, char d2) @@ -227,7 +227,7 @@ namespace butl inline void sanitize_strlit (const std::string& s, std::string& o) { - for (size_t i (0), j;; i = j + 1) + for (std::size_t i (0), j;; i = j + 1) { j = s.find_first_of ("\\\"\n", i); o.append (s.c_str () + i, (j == std::string::npos ? s.size () : j) - i); |