diff --git a/include/fmt/format.h b/include/fmt/format.h index 7181780f..38a66433 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()); + std::uninitialized_copy(data, data + size, bigits_.data()); exp_ = other.exp_; }