diff --git a/include/boost/unordered/detail/table.hpp b/include/boost/unordered/detail/table.hpp index ed128c9a..66c46084 100644 --- a/include/boost/unordered/detail/table.hpp +++ b/include/boost/unordered/detail/table.hpp @@ -174,13 +174,13 @@ namespace boost { namespace unordered { namespace iterator_detail { } iterator& operator++() { - node_ = node_ = static_cast(node_->next_); + node_ = static_cast(node_->next_); return *this; } iterator operator++(int) { iterator tmp(node_); - node_ = node_ = static_cast(node_->next_); + node_ = static_cast(node_->next_); return tmp; } @@ -242,7 +242,7 @@ namespace boost { namespace unordered { namespace iterator_detail { c_iterator operator++(int) { c_iterator tmp(node_); - node_ = node_ = static_cast(node_->next_); + node_ = static_cast(node_->next_); return tmp; } diff --git a/test/unordered/Jamfile.v2 b/test/unordered/Jamfile.v2 index 1a86a742..6ff1d29d 100644 --- a/test/unordered/Jamfile.v2 +++ b/test/unordered/Jamfile.v2 @@ -14,8 +14,8 @@ project unordered-test/unordered #gcc:_GLIBCXX_DEBUG #darwin:_GLIBCXX_DEBUG #msvc:on - #gcc:on - #darwin:on + gcc:on + darwin:on ; test-suite unordered