mirror of
https://gitee.com/openharmony/arkcompiler_runtime_core
synced 2025-02-17 05:39:04 +00:00
Fix compare operator
Signed-off-by: wangyantian <wangyantian@huawei.com>
This commit is contained in:
parent
3a595f6ceb
commit
c64b597d17
@ -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…
x
Reference in New Issue
Block a user