]> git.tdb.fi Git - libs/net.git/blobdiff - source/http/formdata.cpp
Use the auto type to shorten long declarations
[libs/net.git] / source / http / formdata.cpp
index 9897bc59b4a1a663ba8d5f124909582e9b75e131..4ec3f8867f8039399255283205f6fae231fba585 100644 (file)
@@ -83,7 +83,7 @@ void FormData::parse_multipart(const Request &req, const string &boundary)
 
 const string &FormData::get_value(const string &key) const
 {
-       map<string, string>::const_iterator i = fields.find(key);
+       auto i = fields.find(key);
        if(i==fields.end())
        {
                static string dummy;