Skip to content

Commit

Permalink
Merge pull request #24 from no92/member-fix
Browse files Browse the repository at this point in the history
promise: fix incorrect member names
  • Loading branch information
avdgrinten authored Jun 16, 2024
2 parents 4439a38 + 1f066f5 commit b8b8cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/async/promise.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ struct future {
}

future(const future &other)
: state_{other.state}, alloc_{other.alloc} {
: state_{other.state_}, alloc_{other.alloc_} {
if (state_)
state_->ref();
}
Expand Down

0 comments on commit b8b8cda

Please sign in to comment.