Skip to content

Commit

Permalink
test2
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Shchapov <[email protected]>
  • Loading branch information
phprus committed Aug 2, 2024
1 parent 28e45f8 commit 23b97ae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/fmt/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ template <typename T> class buffer {

/// Appends data to the end of the buffer.
template <typename U>
FMT_CONSTEXPR20 void append(const U* begin, const U* end) {
FMT_CONSTEXPR20 void append(U* begin, U* end) {
while (begin != end) {
auto count = to_unsigned(end - begin);
try_reserve(size_ + count);
Expand Down Expand Up @@ -1110,8 +1110,6 @@ template <typename T = char> class counting_buffer : public buffer<T> {
constexpr auto count() const noexcept -> size_t {
return count_ + this->size();
}

using buffer<T>::append;
};
} // namespace detail

Expand Down

0 comments on commit 23b97ae

Please sign in to comment.