diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-07-11 15:16:06 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-07-12 20:42:29 +0300 |
commit | 3afbfa2de74d26f1d9099a85cc1b6ed70251666f (patch) | |
tree | bb71b54e4badf6d71932e31fa89e4c7348c7a0cd /test | |
parent | f1ac757bd28351fd57113a1e16f6c2e00ab193c1 (diff) | |
download | qtlocation-mapboxgl-3afbfa2de74d26f1d9099a85cc1b6ed70251666f.tar.gz |
[core] GCC 4.9 shadow member warnings
Diffstat (limited to 'test')
-rw-r--r-- | test/src/mbgl/test/fake_file_source.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/mbgl/test/fake_file_source.hpp b/test/src/mbgl/test/fake_file_source.hpp index 3ed3f90a17..baae7f9b7e 100644 --- a/test/src/mbgl/test/fake_file_source.hpp +++ b/test/src/mbgl/test/fake_file_source.hpp @@ -42,8 +42,8 @@ public: } bool respond(Resource::Kind kind, const Response& response) { - auto it = std::find_if(requests.begin(), requests.end(), [&] (FakeFileRequest* request) { - return request->resource.kind == kind; + auto it = std::find_if(requests.begin(), requests.end(), [&] (FakeFileRequest* fakeRequest) { + return fakeRequest->resource.kind == kind; }); if (it != requests.end()) { |