This commit is contained in:
Timur A. Fatkhullin
2024-09-25 23:23:52 +03:00
parent fb86450f16
commit 78f2f1b8ed
3 changed files with 40 additions and 50 deletions

View File

@@ -108,7 +108,7 @@ struct AdcStopSeqSessionProto {
template <traits::adc_input_char_range R>
auto fromProto(const R& r)
{
auto N = std::distance(r.begin(), r.end());
size_t N = std::distance(r.begin(), r.end());
if (N < STOP_SEQ_SIZE) { // one must ensure for input range size correctness
// return std::span<std::ranges::range_value_t<R>>();