Ticket #10205: 10205.parent_path.patch
File 10205.parent_path.patch, 356 bytes (added by , 8 years ago) |
---|
-
libs/filesystem/src/path.cpp
a b namespace filesystem 349 349 size_type end_pos(m_parent_path_end()); 350 350 return end_pos == string_type::npos 351 351 ? path() 352 : path(m_pathname. c_str(), m_pathname.c_str() + end_pos);352 : path(m_pathname.substr(0,end_pos)); 353 353 } 354 354 355 355 path path::filename() const