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

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_;
}