Fixed clang-tidy warnings

This commit is contained in:
Bartek Kryza
2023-01-17 00:14:43 +01:00
parent 57740c0c6c
commit f3ef592f01
2 changed files with 3 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ decorator_toks decorator::tokenize(const std::string &label, std::string_view c)
decorator_toks res;
res.label = label;
size_t pos{};
auto it = c.begin();
const auto *it = c.begin();
std::advance(it, label.size());
if (*it == ':') {