mirror of
https://gitee.com/openharmony/arkcompiler_runtime_core
synced 2024-11-23 23:00:08 +00:00
!85 Fix compare operator issue
Merge pull request !85 from wangyantian/fix_14SF18
This commit is contained in:
commit
ee6e47eecc
@ -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_;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user