Some portability fixes discovered with gcc-10 -fcoroutines
Summary: By and large, trying to test folly::coro with gcc-10's (very green) coroutines implementation was a failure, but it did turn up a couple of issues: * Friends of friends are not friends with gcc * -Wshadow picks up a few more instances of shadowing * `std::exchange` needs `#include <utility>`. Reviewed By: lewissbaker Differential Revision: D21190145 fbshipit-source-id: d3f3148baa26bb8a2c0c1954fc930fd8124672e1
Showing
Please register or sign in to comment