diff options
author | Stephan T. Lavavej <stl@exchange.microsoft.com> | 2018-02-12 22:54:35 +0000 |
---|---|---|
committer | Stephan T. Lavavej <stl@exchange.microsoft.com> | 2018-02-12 22:54:35 +0000 |
commit | 6b1ae9b854bd186c8dab4784d287f38ce61459d2 (patch) | |
tree | cdc0b96afc32b469b6af86c350ebbc0c5912111f /libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_if.pass.cpp | |
parent | 031a00c6607ef823942db1ed4269badd7c50f0ef (diff) | |
download | bcm5719-llvm-6b1ae9b854bd186c8dab4784d287f38ce61459d2.tar.gz bcm5719-llvm-6b1ae9b854bd186c8dab4784d287f38ce61459d2.zip |
[libcxx] [test] Strip trailing whitespace, NFC.
llvm-svn: 324959
Diffstat (limited to 'libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_if.pass.cpp')
-rw-r--r-- | libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_if.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_if.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_if.pass.cpp index d8123ee4540..7a0f3405c60 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_if.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_if.pass.cpp @@ -29,7 +29,7 @@ TEST_CONSTEXPR bool equal2 ( int i ) { return i == 2; } #if TEST_STD_VER > 17 TEST_CONSTEXPR bool test_constexpr() { int ia[] = {1, 3, 5, 2, 5, 6}; - + auto it = std::remove_if(std::begin(ia), std::end(ia), equal2); return (std::begin(ia) + std::size(ia) - 1) == it // we removed one element |