Skip to content

Commit

Permalink
test3
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 23b97ae commit 6f8ad76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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(U* begin, U* end) {
FMT_CONSTEXPR20 void append(const U* begin, const U* end) {
while (begin != end) {
auto count = to_unsigned(end - begin);
try_reserve(size_ + count);
Expand Down
2 changes: 1 addition & 1 deletion include/fmt/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ class basic_memory_buffer : public detail::buffer<T> {

using detail::buffer<T>::append;
template <typename ContiguousRange>
void append(const ContiguousRange& range) {
FMT_CONSTEXPR20 void append(const ContiguousRange& range) {
append(range.data(), range.data() + range.size());
}
};
Expand Down

0 comments on commit 6f8ad76

Please sign in to comment.