summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/std
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-14 13:12:02 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-14 13:12:02 +0000
commit097fd46e9b7f2e76be14c229ad2140864014bf10 (patch)
tree828a58efc12647569734cad5d7dbf16596413c32 /libstdc++-v3/include/std
parenta53e5ca39955ad2f5fc76cc1731d01b977128ea0 (diff)
downloadgcc-097fd46e9b7f2e76be14c229ad2140864014bf10.tar.gz
2008-05-14 Benjamin Kosnik <bkoz@redhat.com>
* include/std/sstream: Adjust braces. * include/bits/fstream.tcc: Same. * testsuite/29_atomics/atomic_flag/test_and_set/explicit.c: Add -shared-libgcc. * testsuite/29_atomics/atomic_flag/test_and_set/implicit.c: Same. * doc/doxygen/user.cfg.in: Remove thread include. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135291 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std')
-rw-r--r--libstdc++-v3/include/std/sstream10
1 files changed, 6 insertions, 4 deletions
diff --git a/libstdc++-v3/include/std/sstream b/libstdc++-v3/include/std/sstream
index f8dd50a19f9..2a812423e8d 100644
--- a/libstdc++-v3/include/std/sstream
+++ b/libstdc++-v3/include/std/sstream
@@ -236,10 +236,12 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
{
const bool __testin = _M_mode & ios_base::in;
if (this->pptr() && this->pptr() > this->egptr())
- if (__testin)
- this->setg(this->eback(), this->gptr(), this->pptr());
- else
- this->setg(this->pptr(), this->pptr(), this->pptr());
+ {
+ if (__testin)
+ this->setg(this->eback(), this->gptr(), this->pptr());
+ else
+ this->setg(this->pptr(), this->pptr(), this->pptr());
+ }
}
};