mirror of git://gcc.gnu.org/git/gcc.git
system_error.cc (generic_category_instance): Add initializer.
2013-04-21 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. From-SVN: r198115
This commit is contained in:
parent
b10717ebaf
commit
1cbe724ceb
|
|
@ -1,3 +1,10 @@
|
||||||
|
2013-04-21 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-20 Jonathan Wakely <jwakely.gcc@gmail.com>
|
2013-04-20 Jonathan Wakely <jwakely.gcc@gmail.com>
|
||||||
|
|
||||||
* doc/xml/manual/extensions.xml: Fix anachronism.
|
* doc/xml/manual/extensions.xml: Fix anachronism.
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ namespace
|
||||||
const future_error_category&
|
const future_error_category&
|
||||||
__future_category_instance() noexcept
|
__future_category_instance() noexcept
|
||||||
{
|
{
|
||||||
static const future_error_category __fec;
|
static const future_error_category __fec{};
|
||||||
return __fec;
|
return __fec;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -62,8 +62,8 @@ namespace
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const generic_error_category generic_category_instance;
|
const generic_error_category generic_category_instance{};
|
||||||
const system_error_category system_category_instance;
|
const system_error_category system_category_instance{};
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace std _GLIBCXX_VISIBILITY(default)
|
namespace std _GLIBCXX_VISIBILITY(default)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue