mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 01:51:38 +08:00
Update os-inl.h
This commit is contained in:
parent
8a638a95a0
commit
1271081865
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user