aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@unitus.it>2003-05-21 22:22:25 +0200
committerPaolo Carlini <paolo@gcc.gnu.org>2003-05-21 20:22:25 +0000
commit98ce9d068efb574e38aa07f05204a6046d0fd381 (patch)
tree1061d7f0a91eb89cc018cd21b3269ca0bdaaaa64
parentb190f239060ec7ac9cb71d1c75303bf730cd6773 (diff)
downloadgcc-98ce9d068efb574e38aa07f05204a6046d0fd381.zip
gcc-98ce9d068efb574e38aa07f05204a6046d0fd381.tar.gz
gcc-98ce9d068efb574e38aa07f05204a6046d0fd381.tar.bz2
std_fstream.h (_M_set_buffer): Fix indentation.
2003-05-21 Paolo Carlini <pcarlini@unitus.it> * include/std/std_fstream.h (_M_set_buffer): Fix indentation. From-SVN: r67065
-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 2325eed..3a3ac68 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 e99d810..24c9f7f 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