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 be41169 commit 4204994
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/babylon/future.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +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");
return *reinterpret_cast<ValueType*>(_storage);
}

Expand Down
1 change: 1 addition & 0 deletions src/babylon/time.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ int FastLocalTimeConverter::to_weekday(::absl::CivilSecond civil) noexcept {
case ::absl::Weekday::saturday:
return 6;
}
::abort();
}

ABSL_ATTRIBUTE_NOINLINE
Expand Down

0 comments on commit 4204994

Please sign in to comment.