Skip to content

Commit 0976824

Browse files
committed
removed erroneous const
1 parent 668b7fd commit 0976824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/thallium/eventual.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ template <typename T> class eventual {
145145
*
146146
* @return The value stored in the eventual.
147147
*/
148-
value_type&& wait() const && {
148+
value_type&& wait() && {
149149
TL_EVENTUAL_ASSERT(ABT_eventual_wait(m_eventual, nullptr));
150150
return std::move(m_value);
151151
}

0 commit comments

Comments
 (0)