Fix CoroBenchmarkNRVO for non FOLLY_HAS_COROUTINE builds
Summary: This code fails to compile when FOLLY_HAS_COROUTINES is false. This is because ExpensiveCopy is defined inside the if scope, and if that macro is false, then ExpensiveCopy never gets defined. Yet it gets used in the nestedCalls function. This diff fixes build for that case. Reviewed By: lewissbaker Differential Revision: D9663539 fbshipit-source-id: 1c3dd70decab7db955c038cd5c476920bfa6ba53
Showing
Please register or sign in to comment