Skip to content

Commit b8b8cda

Browse files
authored
Merge pull request #24 from no92/member-fix
promise: fix incorrect member names
2 parents 4439a38 + 1f066f5 commit b8b8cda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/async/promise.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ struct future {
199199
}
200200

201201
future(const future &other)
202-
: state_{other.state}, alloc_{other.alloc} {
202+
: state_{other.state_}, alloc_{other.alloc_} {
203203
if (state_)
204204
state_->ref();
205205
}

0 commit comments

Comments
 (0)