Update os-inl.h

This commit is contained in:
Gabi Melman
2019-10-20 19:08:47 +03:00
committed by GitHub
parent 8a638a95a0
commit 1271081865

View File

@@ -515,7 +515,7 @@ SPDLOG_INLINE bool create_dir(filename_t path)
// "abc/file" => "abc"
// "abc/" => "abc"
// "abc" => ""
// "abc///" => "abc"
// "abc///" => "abc//"
SPDLOG_INLINE filename_t dir_name(filename_t path)
{
using char_type = filename_t::value_type;