OSDN Git Service

2013-05-14 Evgeniy Stepanov <eugenis@google.com>
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 May 2013 23:05:40 +0000 (23:05 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 May 2013 23:05:40 +0000 (23:05 +0000)
* src/c++11/system_error.cc (generic_category_instance): Add
initializer.
(system_category_instance): Likewise.
* src/c++11/future.cc (__fec): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@198908 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/src/c++11/future.cc
libstdc++-v3/src/c++11/system_error.cc

index ca03600..bc53554 100644 (file)
@@ -1,3 +1,10 @@
+2013-05-14  Evgeniy Stepanov  <eugenis@google.com>
+
+       * src/c++11/system_error.cc (generic_category_instance): Add
+       initializer.
+       (system_category_instance): Likewise.
+       * src/c++11/future.cc (__fec): Likewise.
+
 2013-04-15  Jack Howarth  <howarth@bromo.med.uc.edu>
 
        Backport from mainline
index 0552537..61ae04d 100644 (file)
@@ -60,7 +60,7 @@ namespace
   const future_error_category&
   __future_category_instance() noexcept
   {
-    static const future_error_category __fec;
+    static const future_error_category __fec{};
     return __fec;
   }
 }
index 3ee1d9b..fb0a024 100644 (file)
@@ -62,8 +62,8 @@ namespace
     }
   };
 
-  const generic_error_category generic_category_instance;
-  const system_error_category system_category_instance;
+  const generic_error_category generic_category_instance{};
+  const system_error_category system_category_instance{};
 }
 
 namespace std _GLIBCXX_VISIBILITY(default)