From 13a3ca27e541f273a68123a297fce75c39564520 Mon Sep 17 00:00:00 2001 From: Jan Koniarik Date: Fri, 10 Jan 2025 20:58:38 +0100 Subject: [PATCH] moved from ::iterator to decltype --- tests/test_sink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }