From 0de5624dd83be700d9371fd6b4c0e2862a5c7a23 Mon Sep 17 00:00:00 2001 From: Jackarain Date: Thu, 18 Jul 2024 19:20:24 +0800 Subject: [PATCH] Fix format_path_list error_code ref --- proxy/include/proxy/proxy_server.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/include/proxy/proxy_server.hpp b/proxy/include/proxy/proxy_server.hpp index e3b907b957..9ec19ff4da 100644 --- a/proxy/include/proxy/proxy_server.hpp +++ b/proxy/include/proxy/proxy_server.hpp @@ -3555,7 +3555,7 @@ R"x*x*x( } inline std::vector - format_path_list(const std::string& path, boost::system::error_code ec) + format_path_list(const std::string& path, boost::system::error_code& ec) { fs::directory_iterator end; fs::directory_iterator it(path, ec);