mirror of
https://github.com/openharmony/ark_runtime_core.git
synced 2026-07-18 18:24:30 -04:00
!85 Fix compare operator issue
Merge pull request !85 from wangyantian/fix_14SF18
This commit is contained in:
@@ -143,13 +143,13 @@ public:
|
||||
}
|
||||
|
||||
template <typename U>
|
||||
bool operator==(const AllocatorAdapter<U> &other)
|
||||
bool operator==(const AllocatorAdapter<U> &other) const
|
||||
{
|
||||
return this->allocator_ == other.allocator_;
|
||||
}
|
||||
|
||||
template <typename U>
|
||||
bool operator!=(const AllocatorAdapter<U> &other)
|
||||
bool operator!=(const AllocatorAdapter<U> &other) const
|
||||
{
|
||||
return this->allocator_ != other.allocator_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user