Fix breakage due to removing __gnu_cxx::size_t declaration

Restore the using-declaration but locally in the source file, not in the
header.

	* src/c++98/bitmap_allocator.cc: Add using-declaration for size_t.

From-SVN: r271812
This commit is contained in:
Jonathan Wakely 2019-05-31 14:59:19 +01:00 committed by Jonathan Wakely
parent ca3edeaed6
commit ff0b7e883d
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2019-05-31 Jonathan Wakely <jwakely@redhat.com>
* src/c++98/bitmap_allocator.cc: Add using-declaration for size_t.
PR libstdc++/90682
* libsupc++/eh_term_handler.cc: Include eh_term_handler.h to get
definition of _GLIBCXX_DEFAULT_TERM_HANDLER.

View File

@ -28,6 +28,8 @@ namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)
{
_GLIBCXX_BEGIN_NAMESPACE_VERSION
using std::size_t;
namespace __detail
{
template class __mini_vector<