diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2015-05-02 12:36:55 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2015-05-02 12:36:55 +0100 |
commit | 5b244a78dc61f1461882f1a751b047ea81a8c2d5 (patch) | |
tree | e0f172d293542f75a45bc8f756591457bb273bfd /libstdc++-v3 | |
parent | cb2ef49e8387eb8b454e6d8d27c9909ca3964341 (diff) | |
download | gcc-5b244a78dc61f1461882f1a751b047ea81a8c2d5.zip gcc-5b244a78dc61f1461882f1a751b047ea81a8c2d5.tar.gz gcc-5b244a78dc61f1461882f1a751b047ea81a8c2d5.tar.bz2 |
fs_path.h (filesystem_error::~filesystem_error): Declare.
* include/experimental/fs_path.h (filesystem_error::~filesystem_error):
Declare.
* src/filesystem/path.cc (filesystem_error::~filesystem_error):
Define.
From-SVN: r222720
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/include/experimental/fs_path.h | 2 | ||||
-rw-r--r-- | libstdc++-v3/src/filesystem/path.cc | 2 |
3 files changed, 9 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 9ba7c30..d9e58d0 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,10 @@ 2015-05-02 Jonathan Wakely <jwakely@redhat.com> + * include/experimental/fs_path.h (filesystem_error::~filesystem_error): + Declare. + * src/filesystem/path.cc (filesystem_error::~filesystem_error): + Define. + PR libstdc++/65978 * include/std/tuple (forward_as_tuple, tie): Add constexpr. * testsuite/20_util/tuple/creation_functions/constexpr.cc: Uncomment diff --git a/libstdc++-v3/include/experimental/fs_path.h b/libstdc++-v3/include/experimental/fs_path.h index 33a16db..d103312 100644 --- a/libstdc++-v3/include/experimental/fs_path.h +++ b/libstdc++-v3/include/experimental/fs_path.h @@ -531,6 +531,8 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11 : system_error(__ec, __what_arg), _M_path1(__p1), _M_path2(__p2) { } + ~filesystem_error(); + const path& path1() const noexcept { return _M_path1; } const path& path2() const noexcept { return _M_path2; } const char* what() const noexcept { return _M_what.c_str(); } diff --git a/libstdc++-v3/src/filesystem/path.cc b/libstdc++-v3/src/filesystem/path.cc index 7924732..a5441b9 100644 --- a/libstdc++-v3/src/filesystem/path.cc +++ b/libstdc++-v3/src/filesystem/path.cc @@ -26,6 +26,8 @@ using std::experimental::filesystem::path; +std::experimental::filesystem::filesystem_error::~filesystem_error() = default; + constexpr path::value_type path::preferred_separator; path& |