fs_path.h (filesystem_error::~filesystem_error): Declare.
authorJonathan Wakely <jwakely@redhat.com>
Sat, 2 May 2015 11:36:55 +0000 (12:36 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Sat, 2 May 2015 11:36:55 +0000 (12:36 +0100)
* include/experimental/fs_path.h (filesystem_error::~filesystem_error):
Declare.
* src/filesystem/path.cc (filesystem_error::~filesystem_error):
Define.

From-SVN: r222720

libstdc++-v3/ChangeLog
libstdc++-v3/include/experimental/fs_path.h
libstdc++-v3/src/filesystem/path.cc

index 9ba7c30d7ecaaa955d1681bbd5ba2867bfa47ab4..d9e58d0cf1985d612f89895af3f43e7d53961e27 100644 (file)
@@ -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
index 33a16dbee56497f00c125cfa58e6e39484e2d1a6..d103312c17260e034e7ddda4e047d2f9036560bb 100644 (file)
@@ -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(); }
index 7924732e646c1b2753a94bf5d7229a9aa02848ef..a5441b95c9bce6e1faff981f2cef1ca81a1ee24d 100644 (file)
@@ -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&