aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2017-07-19 15:49:00 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2017-07-19 15:49:00 +0100
commit4e66b02bc151b83ac2c6b1f7bec0084d8b461d43 (patch)
tree0fbd556808e65d28c4dff6081289f5d82c98ed82 /libstdc++-v3
parent4a18c06666f71af6337a76be16d4deb67f57eb51 (diff)
downloadgcc-4e66b02bc151b83ac2c6b1f7bec0084d8b461d43.zip
gcc-4e66b02bc151b83ac2c6b1f7bec0084d8b461d43.tar.gz
gcc-4e66b02bc151b83ac2c6b1f7bec0084d8b461d43.tar.bz2
Fix indentation in libstdc++ testsuite utils
* testsuite/util/testsuite_iterators.h: Fix indentation. From-SVN: r250349
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog2
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_iterators.h12
2 files changed, 8 insertions, 6 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 325fc05..a6ed3c9 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,7 @@
2017-07-19 Jonathan Wakely <jwakely@redhat.com>
+ * testsuite/util/testsuite_iterators.h: Fix indentation.
+
* testsuite/27_io/basic_filebuf/sgetn/char/81395.cc: Add dg-require.
2017-07-18 Jonathan Wakely <jwakely@redhat.com>
diff --git a/libstdc++-v3/testsuite/util/testsuite_iterators.h b/libstdc++-v3/testsuite/util/testsuite_iterators.h
index 6771ae2..d61b216 100644
--- a/libstdc++-v3/testsuite/util/testsuite_iterators.h
+++ b/libstdc++-v3/testsuite/util/testsuite_iterators.h
@@ -539,14 +539,14 @@ namespace __gnu_test
struct test_container
{
typename ItType<T>::ContainerType bounds;
- test_container(T* _first, T* _last):bounds(_first, _last)
+ test_container(T* _first, T* _last) : bounds(_first, _last)
{ }
#if __cplusplus >= 201103L
- template<std::size_t N>
- explicit
- test_container(T (&arr)[N]) : test_container(arr, arr+N)
- { }
+ template<std::size_t N>
+ explicit
+ test_container(T (&arr)[N]) : test_container(arr, arr+N)
+ { }
#endif
ItType<T>
@@ -574,6 +574,6 @@ namespace __gnu_test
ItType<T>
end()
{ return it(bounds.last); }
- };
+ };
}
#endif