From 3d49499b180867d8dd13bf07bfc58b51278ce1bb Mon Sep 17 00:00:00 2001 From: Quinten Date: Wed, 29 Oct 2025 15:51:14 +0100 Subject: [PATCH] auto --- webserv/handler/CgiEnvironment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserv/handler/CgiEnvironment.cpp b/webserv/handler/CgiEnvironment.cpp index 9f7e94d..6e60d6f 100644 --- a/webserv/handler/CgiEnvironment.cpp +++ b/webserv/handler/CgiEnvironment.cpp @@ -55,7 +55,7 @@ char **CgiEnvironment::toEnvp() const { char **envp = new char *[env_.size() + 1]; size_t index = 0; - for (std::map::const_iterator it = env_.begin(); it != env_.end(); ++it, ++index) + for (auto it = env_.begin(); it != env_.end(); ++it, ++index) { std::string entry = it->first + "=" + it->second; envp[index] = new char[entry.size() + 1];