stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r382932 - /incubator/stdcxx/trunk/include/fstream.cc
Date Fri, 03 Mar 2006 21:22:56 GMT
Author: sebor
Date: Fri Mar  3 13:22:53 2006
New Revision: 382932

URL: http://svn.apache.org/viewcvs?rev=382932&view=rev
Log:
2006-03-03  Martin Sebor  <sebor@roguewave.com>

	STDCXX-160
	* fstream.cc: Avoided using operator+ on pos_type (which need
	not be defined) and used the required operator+= instead.

Modified:
    incubator/stdcxx/trunk/include/fstream.cc

Modified: incubator/stdcxx/trunk/include/fstream.cc
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/include/fstream.cc?rev=382932&r1=382931&r2=382932&view=diff
==============================================================================
--- incubator/stdcxx/trunk/include/fstream.cc (original)
+++ incubator/stdcxx/trunk/include/fstream.cc Fri Mar  3 13:22:53 2006
@@ -761,7 +761,8 @@
                 __base = __from_next;
             }
 
-            _C_cur_pos = _C_beg_pos + __ext_chars;
+            _C_cur_pos  = _C_beg_pos;
+            _C_cur_pos += __ext_chars;
             _C_cur_pos.state (__state);
         }
 



Mime
View raw message