Commit 8821d8d3 authored by Matthieu Dorier's avatar Matthieu Dorier

corrected eventual

parent 0b5b71a5
......@@ -217,7 +217,7 @@ class eventual<void> {
* the right operand.
*/
eventual& operator=(eventual&& other) {
if(this == other.m_eventual) return *this;
if(*this == other) 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