Remove std::copy usage. (#3550)

This commit is contained in:
Ozomahtli 2023-07-26 15:27:01 +01:00 committed by GitHub
parent 3dec65b7fd
commit 4f46cb82f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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<bigit>(data, data + size, bigits_.data());
exp_ = other.exp_;
}