Commit 0ded2678 authored by Gabriel Russo's avatar Gabriel Russo Committed by Facebook Github Bot

Rename variable to remove shadow warning on FiberManagerInternal.h

Summary: This variable shadows the field `options_`, so rename it to get rid of the warning `constructor parameter 'options_' shadows the field 'options_' of 'FiberManager'` (which is turned into an error because of `-Werror`). This happens on clang 8.

Reviewed By: yfeldblum

Differential Revision: D19331755

fbshipit-source-id: 3615cf9b6c7516775f1dc198a08bc784a52c0fb4
parent 50135cdf
...@@ -143,8 +143,8 @@ class FiberManager : public ::folly::Executor { ...@@ -143,8 +143,8 @@ class FiberManager : public ::folly::Executor {
* with different Option, on the same EventBase. * with different Option, on the same EventBase.
*/ */
struct FrozenOptions { struct FrozenOptions {
explicit FrozenOptions(Options options_) explicit FrozenOptions(Options opts)
: options(std::move(options_)), token(create(options)) {} : options(std::move(opts)), token(create(options)) {}
const Options options; const Options options;
const ssize_t token; const ssize_t token;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment