From 7cc57dbd9fb23f2f8d19acea13dc57345b6e281a Mon Sep 17 00:00:00 2001 From: Ozomahtli Date: Tue, 25 Jul 2023 21:59:50 +0100 Subject: [PATCH] Remove std::copy usage. --- 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 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_; }