io: use the actual path when loggin failures
This commit is contained in:
parent
f381c24f29
commit
e61216a593
4
io.cpp
4
io.cpp
@ -231,8 +231,8 @@ scoped_cwd::~scoped_cwd ()
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
path_error::path_error (const std::filesystem::path &_path):
|
||||
runtime_error (to_string (format::printf ("Unknown path: %!", m_path))),
|
||||
path_error::path_error (std::filesystem::path const &_path):
|
||||
runtime_error (to_string (format::printf ("Unknown path: %!", _path))),
|
||||
m_path (_path)
|
||||
{ ; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user