mirror of
https://github.com/boostorg/graph.git
synced 2026-01-31 20:22:09 +00:00
Resolve assignment operator ambiguity with gcc 4.4.
This commit is contained in:
@@ -308,9 +308,9 @@ namespace boost {
|
||||
m_property = std::move(x.m_property);
|
||||
return *this;
|
||||
}
|
||||
self& operator=(self& x) {
|
||||
self& operator=(self const& x) {
|
||||
Base::operator=(static_cast< Base const& >(x));
|
||||
m_property = std::move(x.m_property);
|
||||
m_property = std::move(const_cast<self&>(x).m_property);
|
||||
return *this;
|
||||
}
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user