fix : allow comparing nullptr == nullptr -> true
This commit is contained in:
parent
aa5bff2a3f
commit
7572ba58cb
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ bool layer::operator==(layer const& rhs) const
|
||||||
(cache_features_ == rhs.cache_features_) &&
|
(cache_features_ == rhs.cache_features_) &&
|
||||||
(group_by_ == rhs.group_by_) &&
|
(group_by_ == rhs.group_by_) &&
|
||||||
(styles_ == rhs.styles_) &&
|
(styles_ == rhs.styles_) &&
|
||||||
((ds_ && rhs.ds_) ? *ds_ == *rhs.ds_ : false) &&
|
((ds_ && rhs.ds_) ? *ds_ == *rhs.ds_ : ds_ == rhs.ds_) &&
|
||||||
(buffer_size_ == rhs.buffer_size_) &&
|
(buffer_size_ == rhs.buffer_size_) &&
|
||||||
(maximum_extent_ == rhs.maximum_extent_);
|
(maximum_extent_ == rhs.maximum_extent_);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue