summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-21 20:22:25 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-21 20:22:25 +0000
commit41a381231e357af54e720ee038b7cd63f0bd232b (patch)
tree1061d7f0a91eb89cc018cd21b3269ca0bdaaaa64 /libstdc++-v3
parent0933e909587704975444287411b35c0c1deb05b9 (diff)
downloadppe42-gcc-41a381231e357af54e720ee038b7cd63f0bd232b.tar.gz
ppe42-gcc-41a381231e357af54e720ee038b7cd63f0bd232b.zip
2003-05-21 Paolo Carlini <pcarlini@unitus.it>
* include/std/std_fstream.h (_M_set_buffer): Fix indentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67065 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/include/std/std_fstream.h22
2 files changed, 15 insertions, 11 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 2325eed89f1..3a3ac682ab6 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2003-05-21 Paolo Carlini <pcarlini@unitus.it>
+
+ * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
+
2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/faq/index.html: Fix typo.
diff --git a/libstdc++-v3/include/std/std_fstream.h b/libstdc++-v3/include/std/std_fstream.h
index e99d8103286..24c9f7fc6db 100644
--- a/libstdc++-v3/include/std/std_fstream.h
+++ b/libstdc++-v3/include/std/std_fstream.h
@@ -454,16 +454,16 @@ namespace std
void
_M_output_unshift();
- // This function sets the pointers of the internal buffer, both get
- // and put areas. Typically, __off == _M_in_end - _M_in_beg upon
- // _M_underflow; __off == 0 upon _M_overflow, seekoff, open, setbuf.
- //
- // NB: _M_out_end - _M_out_beg == _M_buf_size - 1, since _M_buf_size
- // reflects the actual allocated memory and the last cell is reserved
- // for the overflow char of a full put area.
- void
- _M_set_buffer(streamsize __off)
- {
+ // This function sets the pointers of the internal buffer, both get
+ // and put areas. Typically, __off == _M_in_end - _M_in_beg upon
+ // _M_underflow; __off == 0 upon _M_overflow, seekoff, open, setbuf.
+ //
+ // NB: _M_out_end - _M_out_beg == _M_buf_size - 1, since _M_buf_size
+ // reflects the actual allocated memory and the last cell is reserved
+ // for the overflow char of a full put area.
+ void
+ _M_set_buffer(streamsize __off)
+ {
const bool __testin = this->_M_mode & ios_base::in;
const bool __testout = this->_M_mode & ios_base::out;
if (_M_buf_size)
@@ -477,7 +477,7 @@ namespace std
}
_M_filepos = this->_M_buf + __off;
}
- }
+ }
};
// [27.8.1.5] Template class basic_ifstream
OpenPOWER on IntegriCloud