diff --git a/include/fmt/format.h b/include/fmt/format.h index 7181780f..75f2b638 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -2896,7 +2896,7 @@ class bigint { auto size = other.bigits_.size(); bigits_.resize(size); auto data = other.bigits_.data(); - std::copy(data, data + size, bigits_.data()); + copy_str(data, data + size, bigits_.data()); exp_ = other.exp_; }