use proper type
This commit is contained in:
parent
618652c987
commit
cc2c18f1c8
@ -23,7 +23,7 @@ void template_type::tokenize(const std::string& tmp) {
|
||||
citer beg = tmp.begin();
|
||||
auto npos = std::string::npos;
|
||||
|
||||
for (unsigned long long cur_pos = 0; cur_pos < tmp.size();) {
|
||||
for (std::size_t cur_pos = 0; cur_pos < tmp.size();) {
|
||||
auto open_pos = tmp.find(open, cur_pos);
|
||||
auto close_pos = tmp.find(
|
||||
close, open_pos == npos ? open_pos : open_pos + 1);
|
||||
|
Loading…
Reference in New Issue
Block a user