Skip to content

Commit

Permalink
fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
oathdruid committed Sep 19, 2024
1 parent 4204994 commit 35e3dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/babylon/future.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ FutureContext<T, M>::seal() noexcept {
template <typename T, typename M>
inline typename FutureContext<T, M>::ValueType&
FutureContext<T, M>::value() noexcept {
assert(ready() && "cannot read value before ready");
assert(ready(::std::memory_order_acquire) && "cannot read value before ready");
return *reinterpret_cast<ValueType*>(_storage);
}

Expand Down

0 comments on commit 35e3dba

Please sign in to comment.