From b249299bad655c92a323c6bb27c2e7c48647c7e5 Mon Sep 17 00:00:00 2001 From: Ozomahtli Date: Wed, 26 Jul 2023 11:04:11 +0100 Subject: [PATCH] Use constexpr copy. --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 38a66433..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::uninitialized_copy(data, data + size, bigits_.data()); + copy_str(data, data + size, bigits_.data()); exp_ = other.exp_; }