From d6597c9db3ba4bcbc127a6fd432047be0ddcd5d3 Mon Sep 17 00:00:00 2001 From: Coldwings Date: Wed, 7 Feb 2024 14:02:40 +0800 Subject: [PATCH] use `unordered_map_string_key` for common header storage in `httpfs_v2` Signed-off-by: Coldwings --- fs/httpfs/httpfs_v2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/httpfs/httpfs_v2.cpp b/fs/httpfs/httpfs_v2.cpp index 67cf5405..57e07072 100644 --- a/fs/httpfs/httpfs_v2.cpp +++ b/fs/httpfs/httpfs_v2.cpp @@ -103,7 +103,7 @@ class HttpFs_v2 : public fs::IFileSystem { class HttpFile_v2 : public fs::VirtualReadOnlyFile { public: std::string m_url; - std::unordered_map m_common_header; + unordered_map_string_key m_common_header; HttpFs_v2* m_fs; struct stat m_stat; uint64_t m_stat_gettime = 0;