Skip to content

Commit

Permalink
Undo comment change
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Mar 25, 2020
1 parent 96c68af commit 21a295c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/fmt/format-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -1163,8 +1163,7 @@ int snprintf_float(T value, int precision, float_specs specs,
auto size = to_unsigned(result);
// Size equal to capacity means that the last character was truncated.
if (size >= capacity) {
// Add 1 for the terminating '\0'.
buf.reserve(size + offset + 1);
buf.reserve(size + offset + 1); // Add 1 for the terminating '\0'.
continue;
}
auto is_digit = [](char c) { return c >= '0' && c <= '9'; };
Expand Down

0 comments on commit 21a295c

Please sign in to comment.