fix local variable shadow
authorShijin Kong <shikong@fb.com>
Mon, 8 Dec 2014 18:03:30 +0000 (10:03 -0800)
committerDave Watson <davejwatson@fb.com>
Thu, 11 Dec 2014 16:01:10 +0000 (08:01 -0800)
commit61a454f2a19b7b545a973035f289e2ca54920afe
tree365bb12d50545dd2e47f0e1091356476a4217d67
parent173356a35a2894817b7b45134eb062211b54dfc7
fix local variable shadow

Summary:
D1720014 line 183 in HHWheelTimer.h broke proxygen/facebook/httpclient clang build:

./folly/io/async/HHWheelTimer.h:183:17: error: declaration shadows a local variable [-Werror,-Wshadow]
Wrapper(F fn) : fn_(std::move(fn)) {}
^
./folly/io/async/HHWheelTimer.h:181:28: note: previous declaration is here
void scheduleTimeoutFn(F fn, std::chrono::milliseconds timeout) {

I renamed the `fn` in `Wrapper` to `f`.

Test Plan: pass

Reviewed By: seanc@fb.com

Subscribers: njormrod, folly-diffs@, subodh, seanc, kmdent, fma

FB internal diff: D1724835

Signature: t1:1724835:1418052896:d9a72230d4fd1a4a734a33142966fe796f4fd362
folly/io/async/HHWheelTimer.h