public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-4737] libstdc++: Adjust whitespace in <sstream>
@ 2020-11-05 13:31 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2020-11-05 13:31 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:cbc3f0bcc0e6dba4be2873f7ed7b63de6f8fc524

commit r11-4737-gcbc3f0bcc0e6dba4be2873f7ed7b63de6f8fc524
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Nov 4 23:55:54 2020 +0000

    libstdc++: Adjust whitespace in <sstream>
    
    libstdc++-v3/ChangeLog:
    
            * include/std/sstream: Adjust whitespace.

Diff:
---
 libstdc++-v3/include/std/sstream | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/libstdc++-v3/include/std/sstream b/libstdc++-v3/include/std/sstream
index 8acf1eb259a..276badfd965 100644
--- a/libstdc++-v3/include/std/sstream
+++ b/libstdc++-v3/include/std/sstream
@@ -179,15 +179,15 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11
 
       explicit
       basic_stringbuf(__string_type&& __s,
-	              ios_base::openmode __mode = ios_base::in
-						  | ios_base::out )
+		      ios_base::openmode __mode = ios_base::in
+						  | ios_base::out)
       : __streambuf_type(), _M_mode(__mode), _M_string(std::move(__s))
       { _M_stringbuf_init(__mode); }
 
       template<typename _SAlloc>
       basic_stringbuf(const basic_string<_CharT, _Traits, _SAlloc>& __s,
-		      const allocator_type& __a )
-      : basic_stringbuf(__s, ios_base::in | std::ios_base::out, __a )
+		      const allocator_type& __a)
+      : basic_stringbuf(__s, ios_base::in | std::ios_base::out, __a)
       { }
 
       template<typename _SAlloc>
@@ -201,7 +201,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11
       template<typename _SAlloc>
 	explicit
 	basic_stringbuf(const basic_string<_CharT, _Traits, _SAlloc>& __s,
-	                ios_base::openmode __mode = ios_base::in
+			ios_base::openmode __mode = ios_base::in
 						    | ios_base::out)
 	: basic_stringbuf(__s, __mode, allocator_type{})
 	{ }
@@ -584,7 +584,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11
 
       explicit
       basic_istringstream(__string_type&& __str,
-	                  ios_base::openmode __mode = ios_base::in )
+			  ios_base::openmode __mode = ios_base::in)
       : __istream_type(), _M_stringbuf(std::move(__str), __mode | ios_base::in)
       { this->init(std::__addressof(_M_stringbuf)); }
 
@@ -606,7 +606,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11
       template<typename _SAlloc>
 	explicit
 	basic_istringstream(const basic_string<_CharT, _Traits, _SAlloc>& __str,
-	                    ios_base::openmode __mode = ios_base::in)
+			    ios_base::openmode __mode = ios_base::in)
 	: basic_istringstream(__str, __mode, allocator_type())
 	{ }
 #endif
@@ -782,7 +782,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11
 
       explicit
       basic_ostringstream(__string_type&& __str,
-	                  ios_base::openmode __mode = ios_base::out )
+			  ios_base::openmode __mode = ios_base::out)
       : __ostream_type(), _M_stringbuf(std::move(__str), __mode | ios_base::out)
       { this->init(std::__addressof(_M_stringbuf)); }
 
@@ -804,7 +804,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11
       template<typename _SAlloc>
 	explicit
 	basic_ostringstream(const basic_string<_CharT, _Traits, _SAlloc>& __str,
-	                    ios_base::openmode __mode = ios_base::out)
+			    ios_base::openmode __mode = ios_base::out)
 	: basic_ostringstream(__str, __mode, allocator_type())
 	{ }
 #endif
@@ -976,7 +976,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11
 
       explicit
       basic_stringstream(__string_type&& __str,
-	                 ios_base::openmode __mode = ios_base::in
+			 ios_base::openmode __mode = ios_base::in
 						     | ios_base::out)
       : __iostream_type(), _M_stringbuf(std::move(__str), __mode)
       { this->init(std::__addressof(_M_stringbuf)); }
@@ -989,7 +989,8 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11
 
       template<typename _SAlloc>
 	basic_stringstream(const basic_string<_CharT, _Traits, _SAlloc>& __str,
-			   ios_base::openmode __mode, const allocator_type& __a)
+			   ios_base::openmode __mode,
+			   const allocator_type& __a)
 	: __iostream_type(),
 	_M_stringbuf(__string_type(__str.data(), __str.size()), __mode, __a)
 	{ this->init(std::__addressof(_M_stringbuf)); }
@@ -997,7 +998,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11
       template<typename _SAlloc>
 	explicit
 	basic_stringstream(const basic_string<_CharT, _Traits, _SAlloc>& __str,
-	                   ios_base::openmode __mode = ios_base::in
+			   ios_base::openmode __mode = ios_base::in
 						       | ios_base::out)
 	: basic_stringstream(__str, __mode, allocator_type())
 	{ }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-05 13:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-05 13:31 [gcc r11-4737] libstdc++: Adjust whitespace in <sstream> Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).