mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 09:59:33 +08:00
Update os-inl.h
This commit is contained in:
@@ -515,7 +515,7 @@ SPDLOG_INLINE bool create_dir(filename_t path)
|
|||||||
// "abc/file" => "abc"
|
// "abc/file" => "abc"
|
||||||
// "abc/" => "abc"
|
// "abc/" => "abc"
|
||||||
// "abc" => ""
|
// "abc" => ""
|
||||||
// "abc///" => "abc"
|
// "abc///" => "abc//"
|
||||||
SPDLOG_INLINE filename_t dir_name(filename_t path)
|
SPDLOG_INLINE filename_t dir_name(filename_t path)
|
||||||
{
|
{
|
||||||
using char_type = filename_t::value_type;
|
using char_type = filename_t::value_type;
|
||||||
|
Reference in New Issue
Block a user