io: return path object from path_error accessor
This commit is contained in:
parent
c711d7e0f5
commit
e80c3c959c
4
io.cpp
4
io.cpp
@ -200,8 +200,8 @@ path_error::path_error (const std::experimental::filesystem::path &_path):
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
const char*
|
||||
const std::experimental::filesystem::path&
|
||||
path_error::path (void) const noexcept
|
||||
{
|
||||
return m_path.string ().c_str ();
|
||||
return m_path;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user