diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-10-23 09:51:16 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-10-23 09:51:16 +0200 |
commit | 1bd2a072d44893b78eac97ee81edd24023918e06 (patch) | |
tree | 79e8e0cb666e56006fa0dbaf281da56c9481a9c7 /libbutl/path.cxx | |
parent | b517f9cd2684d2b6a5540c9ff64bad19acee4bc1 (diff) |
Derive invalid_path from invalid_argument
Diffstat (limited to 'libbutl/path.cxx')
-rw-r--r-- | libbutl/path.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbutl/path.cxx b/libbutl/path.cxx index 47d691b..17b380a 100644 --- a/libbutl/path.cxx +++ b/libbutl/path.cxx @@ -70,10 +70,10 @@ using namespace butl::win32; namespace butl { - char const* invalid_path_base:: - what () const throw () + invalid_path_base:: + invalid_path_base () + : invalid_argument ("invalid filesystem path") { - return "invalid filesystem path"; } // |