Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[const refable] Suppress issue on folly::coro::Generator
Summary: This diff suppresses const refable issues on folly's coroutine generator procedures, because reference parameters may introduce dangling pointer issue. https://en.cppreference.com/w/cpp/language/coroutines > copies all function parameters to the coroutine state: by-value parameters are moved or copied, by-reference parameters remain references (thus, may become dangling, if the coroutine is resumed after the lifetime of referred object ends ...). Reviewed By: bennostein Differential Revision: D45814146 fbshipit-source-id: 93e7a48520f60614bae76a33a6f846f002881cdf
- Loading branch information