Fix compilation error when cstring does not import std::memcmp into global namespace.
This commit is contained in:
parent
edfde4bfa2
commit
78befee2bd
@ -148,7 +148,7 @@ public:
|
||||
}
|
||||
|
||||
bool operator==(const BigInteger& rhs) const {
|
||||
return count_ == rhs.count_ && memcmp(digits_, rhs.digits_, count_ * sizeof(Type)) == 0;
|
||||
return count_ == rhs.count_ && std::memcmp(digits_, rhs.digits_, count_ * sizeof(Type)) == 0;
|
||||
}
|
||||
|
||||
bool operator==(const Type rhs) const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user