Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

Commit cb212fe

Browse files
committed
fix compile warning
core/analysis/multi_delimited_token_stream.cpp:58:25: warning: comparison of integers of different signs: 'std::tuple_element<1, std::pair<const unsigned char *, int>>::type' (aka 'int') and 'size_type' (aka 'unsigned long') [-Wsign-compare] IRS_ASSERT(skip <= data.size());
1 parent df481fa commit cb212fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/analysis/multi_delimited_token_stream.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class MultiDelimitedTokenStreamSingleCharsBase
8585
public:
8686
auto FindNextDelim() {
8787
auto where = static_cast<Derived*>(this)->FindNextDelim();
88-
return std::make_pair(where, 1);
88+
return std::make_pair(where, size_t{1});
8989
}
9090
};
9191

0 commit comments

Comments
 (0)