diff --git a/tests/test_sink.h b/tests/test_sink.h index c31ec375..c9bdf472 100644 --- a/tests/test_sink.h +++ b/tests/test_sink.h @@ -47,7 +47,7 @@ protected: base_sink::formatter_->format(msg, formatted); // save the line without the eol auto eol_len = strlen(details::os::default_eol); - using diff_t = typename std::iterator_traits::difference_type; + using diff_t = typename std::iterator_traits::difference_type; if (lines_.size() < lines_to_save) { lines_.emplace_back(formatted.begin(), formatted.end() - static_cast(eol_len)); }