mirror of
https://github.com/boostorg/unordered.git
synced 2025-10-16 01:15:26 +02:00
Remove use of operator&.
Also reactivate operator& for minimal test classes. Apparently I disabled them because of a problem in a type trait, but I'm not seeing that now. Maybe it will appear on other compilers.
This commit is contained in:
@@ -223,7 +223,7 @@ namespace boost { namespace unordered { namespace iterator_detail {
|
||||
}
|
||||
|
||||
value_type* operator->() const {
|
||||
return &node_->value();
|
||||
return node_->value_ptr();
|
||||
}
|
||||
|
||||
iterator& operator++() {
|
||||
@@ -287,7 +287,7 @@ namespace boost { namespace unordered { namespace iterator_detail {
|
||||
}
|
||||
|
||||
value_type const* operator->() const {
|
||||
return &node_->value();
|
||||
return node_->value_ptr();
|
||||
}
|
||||
|
||||
c_iterator& operator++() {
|
||||
|
Reference in New Issue
Block a user