aboutsummaryrefslogtreecommitdiff
path: root/pstl/test/std/algorithms/alg.modifying.operations/swap_ranges.pass.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-06-19 20:15:50 +0000
committerLouis Dionne <ldionne@apple.com>2019-06-19 20:15:50 +0000
commit3491119f9ba466ed871a789eb91e3b7577e36272 (patch)
tree1afc4af7d6e98ed44edfdd033ac50026bd0b5e74 /pstl/test/std/algorithms/alg.modifying.operations/swap_ranges.pass.cpp
parentf46f41411b1fa1360fb13235df77e60c8b6e8992 (diff)
downloadllvm-3491119f9ba466ed871a789eb91e3b7577e36272.zip
llvm-3491119f9ba466ed871a789eb91e3b7577e36272.tar.gz
llvm-3491119f9ba466ed871a789eb91e3b7577e36272.tar.bz2
[pstl] Remove warnings in tests and headers
Mostly unused parameter, unused local typedefs and shadowed declarations. This massaging it necessary if we want to be able to run the tests under the libc++ lit configuration. llvm-svn: 363872
Diffstat (limited to 'pstl/test/std/algorithms/alg.modifying.operations/swap_ranges.pass.cpp')
-rw-r--r--pstl/test/std/algorithms/alg.modifying.operations/swap_ranges.pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pstl/test/std/algorithms/alg.modifying.operations/swap_ranges.pass.cpp b/pstl/test/std/algorithms/alg.modifying.operations/swap_ranges.pass.cpp
index 1f4031b..87472d6 100644
--- a/pstl/test/std/algorithms/alg.modifying.operations/swap_ranges.pass.cpp
+++ b/pstl/test/std/algorithms/alg.modifying.operations/swap_ranges.pass.cpp
@@ -50,7 +50,7 @@ template <typename T>
struct check_swap
{
bool
- operator()(T& a)
+ operator()(T&)
{
return true;
}