Add fixed underlying type to enum path::format

* include/bits/fs_path.h (path::format): Add fixed underlying type.

From-SVN: r269493
This commit is contained in:
Jonathan Wakely 2019-03-08 13:56:48 +00:00 committed by Jonathan Wakely
parent f62d3527db
commit 43aaf5ab73
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2019-03-08 Jonathan Wakely <jwakely@redhat.com>
* include/bits/fs_path.h (path::format): Add fixed underlying type.
2019-03-08 François Dumont <fdumont@gcc.gnu.org>
PR libstdc++/89477

View File

@ -166,7 +166,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11
#endif
typedef std::basic_string<value_type> string_type;
enum format { native_format, generic_format, auto_format };
enum format : unsigned char { native_format, generic_format, auto_format };
// constructors and destructor