Remove counting_iterator

This commit is contained in:
Victor Zverovich committed 2024-07-22 16:24:13 -07:00
1 parent f6b4a23b83
commit ba36a04811
4 files changed
+8 -57

No files matched your search

+1 -1
View File
@@ -1103,7 +1103,7 @@ template <typename T = char> class counting_buffer : public buffer<T> {
}
public:
counting_buffer() : buffer<T>(grow, data_, 0, buffer_size) {}
FMT_CONSTEXPR counting_buffer() : buffer<T>(grow, data_, 0, buffer_size) {}
auto count() -> size_t { return count_ + this->size(); }
};