folly/test/TimeseriesTest.cpp: avoid shadowing warnings v2017.03.20.00
authorJim Meyering <meyering@fb.com>
Sun, 19 Mar 2017 02:53:26 +0000 (19:53 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sun, 19 Mar 2017 03:05:33 +0000 (20:05 -0700)
commit5d9dbb73c161a0c9d3f4b3d7275350c16969ae24
treeee7cb1491fae8014af7e113a730c8506684d299e
parentcafd8d8eda615c4576e78858f4055ebf34c89b4b
folly/test/TimeseriesTest.cpp: avoid shadowing warnings

Summary:
Fix warnings exposed by gcc's -Wshadow-compatible-local.
Rename lambda parameter "ts" to "timeSeries".

This avoids the following errors:

  folly/test/TimeseriesTest.cpp:802:27: error: declaration of 'ts' shadows a previous local [-Werror=shadow-compatible-local]
  folly/test/TimeseriesTest.cpp:809:31: error: shadowed declaration is here [-Werror=shadow-compatible-local]

Reviewed By: yfeldblum, liuxuli

Differential Revision: D4735180

fbshipit-source-id: 59b3fecf4031b3c6615e5b764fbc4ea04754eb50
folly/test/TimeseriesTest.cpp