Remove counting_iterator

This commit is contained in:
Victor Zverovich
2024-07-22 16:01:18 -07:00
parent f6b4a23b83
commit ba36a04811
4 changed files with 8 additions and 57 deletions

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(); }
};