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 <[EMAIL PROTECTED]>
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);
}