You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by fa...@apache.org on 2007/09/14 12:44:57 UTC

svn commit: r575613 - in /incubator/stdcxx/trunk/include/loc: _messages.h _moneypunct.h

Author: faridz
Date: Fri Sep 14 03:44:52 2007
New Revision: 575613

URL: http://svn.apache.org/viewvc?rev=575613&view=rev
Log:
2007-09-14 Farid Zaripov <Fa...@epam.com>

	STDCXX-554
	* _messages.h (messages): Removed explicit invoking of the messages_base() ctor
	to avoid buffer overrun due to bad code generation on MSVC 7.1.
	* _moneypunct.h (moneypunct): Removed explicit invoking of the money_base() ctor
	to avoid buffer overrun due to bad code generation on MSVC 7.1.

Modified:
    incubator/stdcxx/trunk/include/loc/_messages.h
    incubator/stdcxx/trunk/include/loc/_moneypunct.h

Modified: incubator/stdcxx/trunk/include/loc/_messages.h
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/loc/_messages.h?rev=575613&r1=575612&r2=575613&view=diff
==============================================================================
--- incubator/stdcxx/trunk/include/loc/_messages.h (original)
+++ incubator/stdcxx/trunk/include/loc/_messages.h Fri Sep 14 03:44:52 2007
@@ -82,7 +82,7 @@
                          allocator<char_type> > string_type;
 
     _EXPLICIT messages (_RWSTD_SIZE_T __refs = 0)
-        : _RW::__rw_facet (__refs), messages_base () { }
+        : _RW::__rw_facet (__refs) { }
 
 
     catalog open (const string& __fun, const locale& __loc) const {

Modified: incubator/stdcxx/trunk/include/loc/_moneypunct.h
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/loc/_moneypunct.h?rev=575613&r1=575612&r2=575613&view=diff
==============================================================================
--- incubator/stdcxx/trunk/include/loc/_moneypunct.h (original)
+++ incubator/stdcxx/trunk/include/loc/_moneypunct.h Fri Sep 14 03:44:52 2007
@@ -66,7 +66,7 @@
     string_type;
 
     _EXPLICIT moneypunct (_RWSTD_SIZE_T __refs = 0)
-        : _RW::__rw_facet (__refs), money_base () { }
+        : _RW::__rw_facet (__refs) { }
 
     char_type decimal_point () const {
         return do_decimal_point ();