This is an archive of the discontinued LLVM Phabricator instance.

Make appendCallNB lambda mutable
AbandonedPublic

Authored by beanz on Oct 6 2019, 12:19 PM.

Details

Reviewers
None
Summary

Lambdas are by deafult const so that they produce the same output every time they are run. This lambda needs to set the value on a captured promise which is a mutating operation, so it must be mutable.

Event Timeline

beanz created this revision.Oct 6 2019, 12:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 6 2019, 12:19 PM
beanz abandoned this revision.Oct 6 2019, 12:21 PM

Accidentally uploaded this