Commit 6e9add2e authored by Matthieu Dorier's avatar Matthieu Dorier

corrected eventual (again)

parent 8821d8d3
......@@ -217,7 +217,7 @@ class eventual<void> {
* the right operand.
*/
eventual& operator=(eventual&& other) {
if(*this == other) return *this;
if(m_eventual == other.m_eventual) return *this;
if(m_eventual != ABT_EVENTUAL_NULL) {
TL_EVENTUAL_ASSERT(ABT_eventual_free(&m_eventual));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment