stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r565279 - /incubator/stdcxx/trunk/examples/manual/fmtflags_manip.cpp
Date Mon, 13 Aug 2007 09:13:47 GMT
Author: faridz
Date: Mon Aug 13 02:13:46 2007
New Revision: 565279

URL: http://svn.apache.org/viewvc?view=rev&rev=565279
Log:
2007-08-13 Farid Zaripov <Farid_Zaripov@epam.com>

	STDCXX-519
	* fmtflags_manip.cpp (fmtflags_manip): Use value
	initialization to workaround MSVC 7.1 bug.

Modified:
    incubator/stdcxx/trunk/examples/manual/fmtflags_manip.cpp

Modified: incubator/stdcxx/trunk/examples/manual/fmtflags_manip.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/examples/manual/fmtflags_manip.cpp?view=diff&rev=565279&r1=565278&r2=565279
==============================================================================
--- incubator/stdcxx/trunk/examples/manual/fmtflags_manip.cpp (original)
+++ incubator/stdcxx/trunk/examples/manual/fmtflags_manip.cpp Mon Aug 13 02:13:46 2007
@@ -42,7 +42,7 @@
     std::ios_base::fmtflags  saved_;
 
 public:
-    fmtflags_manip (): strm_ (), saved_ () { }
+    fmtflags_manip (): strm_ (), saved_ (std::ios_base::fmtflags (-1)) { }
 
     void operator() (std::ios_base           &strm,
                      std::ios_base::fmtflags  flags) const {



Mime
View raw message