From 435fad1463eda18ff32c07e648302d1f9136c068 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Tue, 23 Oct 2012 22:38:20 +0200 Subject: [PATCH] src/Format.cpp: use make_pair Use make_pair(...) instead of pair(...). --- src/Format.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }