Skip to content

Commit

Permalink
Pass significand_size by value
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Jul 5, 2021
1 parent c4a3c23 commit 20e4ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -1634,7 +1634,7 @@ inline auto get_significand_size(const dragonbox::decimal_fp<T>& fp) -> int {

template <typename Char, typename OutputIt>
inline auto write_significand(OutputIt out, const char* significand,
int& significand_size) -> OutputIt {
int significand_size) -> OutputIt {
return copy_str<Char>(significand, significand + significand_size, out);
}
template <typename Char, typename OutputIt, typename UInt>
Expand Down

0 comments on commit 20e4ef8

Please sign in to comment.