From 4f46cb82f3b89742c8e1384b3899616f711f843c Mon Sep 17 00:00:00 2001 From: Ozomahtli Date: Wed, 26 Jul 2023 15:27:01 +0100 Subject: [PATCH] Remove std::copy usage. (#3550) --- 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 7181780f0aea..75f2b6381352 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_; }