diff options
Diffstat (limited to 'libstdc++-v3/src')
-rw-r--r-- | libstdc++-v3/src/strstream.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/src/strstream.cc b/libstdc++-v3/src/strstream.cc index f2214549ab7..3c5d8be839e 100644 --- a/libstdc++-v3/src/strstream.cc +++ b/libstdc++-v3/src/strstream.cc @@ -235,7 +235,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) if ((mode & (ios_base::in | ios_base::out)) == (ios_base::in | ios_base::out) && (dir == ios_base::beg || dir == ios_base::end)) - do_get = do_put = true; + do_get = (do_put = true); else if (mode & ios_base::in) do_get = true; else if (mode & ios_base::out) |