diff --git a/src/Format.cpp b/src/Format.cpp index f031b6806d..71699d64ad 100644 --- a/src/Format.cpp +++ b/src/Format.cpp @@ -476,7 +476,7 @@ bool Formats::isZippedFile(support::FileName const & filename) const { return it->second.zipped; string const & format = getFormatFromFile(filename); bool zipped = (format == "gzip" || format == "zip"); - zipped_.insert(pair(fname, ZippedInfo(zipped, timestamp))); + zipped_.insert(make_pair(fname, ZippedInfo(zipped, timestamp))); return zipped; }