Remove redundant step in experimental::filesystem::path construction
authorJonathan Wakely <jwakely@redhat.com>
Fri, 26 Apr 2019 15:58:47 +0000 (16:58 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 26 Apr 2019 15:58:47 +0000 (16:58 +0100)
commit700e6332a7fed75fca4515e24263492ff7a83344
treee4118c120add25cf88e7a040a1a29498c8713126
parent224d9de0e84026e7c19c51f05d2f4e8dedd291ed
Remove redundant step in experimental::filesystem::path construction

* include/experimental/bits/fs_path.h
(path::_S_convert_loc<_InputIterator>): Create const std::string to
avoid redundant call to _S_convert_loc with non-const pointers.

From-SVN: r270608
libstdc++-v3/ChangeLog
libstdc++-v3/include/experimental/bits/fs_path.h