From 43747a2f38421836d9c713d7290b2bcf043cb3ae Mon Sep 17 00:00:00 2001 From: Build Agent Date: Mon, 25 May 2020 12:29:00 +0100 Subject: [PATCH] Correct placement of value_type --- include/spdlog/details/os-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/details/os-inl.h b/include/spdlog/details/os-inl.h index 566cf8e4..1b315bf3 100644 --- a/include/spdlog/details/os-inl.h +++ b/include/spdlog/details/os-inl.h @@ -605,7 +605,7 @@ SPDLOG_INLINE std::vector get_directory_files(const std::string &di while ((ent = readdir(dir)) != nullptr) { - const std::string file_name::value_type* = ent->d_name; + const std::string::value_type* file_name = ent->d_name; if (file_name[0] == '.') {