diff options
| author | Marshall Clow <mclow.lists@gmail.com> | 2014-10-18 11:03:33 +0000 |
|---|---|---|
| committer | Marshall Clow <mclow.lists@gmail.com> | 2014-10-18 11:03:33 +0000 |
| commit | c8528b5001f121449470d57caa7bc06cc81e7bfc (patch) | |
| tree | 4a1431fb5184d0d2bb6b227ecdb789e6b5b491c2 /libcxx/test/containers/sequences/list/list.ops/remove.pass.cpp | |
| parent | be9dccd64d25227832f9cf0c1775acfa072be529 (diff) | |
| download | bcm5719-llvm-c8528b5001f121449470d57caa7bc06cc81e7bfc.tar.gz bcm5719-llvm-c8528b5001f121449470d57caa7bc06cc81e7bfc.zip | |
Whitespace maintenance. Remove a bunch of tabs that snuck in. No functionality change
llvm-svn: 220142
Diffstat (limited to 'libcxx/test/containers/sequences/list/list.ops/remove.pass.cpp')
| -rw-r--r-- | libcxx/test/containers/sequences/list/list.ops/remove.pass.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libcxx/test/containers/sequences/list/list.ops/remove.pass.cpp b/libcxx/test/containers/sequences/list/list.ops/remove.pass.cpp index 106c0527f5f..f580c94ef48 100644 --- a/libcxx/test/containers/sequences/list/list.ops/remove.pass.cpp +++ b/libcxx/test/containers/sequences/list/list.ops/remove.pass.cpp @@ -17,14 +17,14 @@ #include "min_allocator.h" struct S { - S(int i) : i_(new int(i)) {} - S(const S &rhs) : i_(new int(*rhs.i_)) {} - S& operator = (const S &rhs) { *i_ = *rhs.i_; return *this; } - ~S () { delete i_; i_ = NULL; } - bool operator == (const S &rhs) const { return *i_ == *rhs.i_; } - int get () const { return *i_; } - int *i_; - }; + S(int i) : i_(new int(i)) {} + S(const S &rhs) : i_(new int(*rhs.i_)) {} + S& operator = (const S &rhs) { *i_ = *rhs.i_; return *this; } + ~S () { delete i_; i_ = NULL; } + bool operator == (const S &rhs) const { return *i_ == *rhs.i_; } + int get () const { return *i_; } + int *i_; + }; int main() @@ -52,10 +52,10 @@ int main() c.remove(c.front()); std::list<S>::const_iterator it = c.begin(); for(int *ip = a2; ip < a2+5; ++ip, ++it) { - assert ( it != c.end()); + assert ( it != c.end()); assert ( *ip == it->get()); - } - assert ( it == c.end ()); + } + assert ( it == c.end ()); } #if __cplusplus >= 201103L { |

