Use constexpr copy.

This commit is contained in:
Ozomahtli 2023-07-26 11:04:11 +01:00 committed by GitHub
parent 7cc57dbd9f
commit b249299bad
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::uninitialized_copy(data, data + size, bigits_.data());
copy_str<bigit>(data, data + size, bigits_.data());
exp_ = other.exp_;
}