1
0
mirror of https://git.lyx.org/repos/lyx.git synced 2024-12-31 23:52:03 +00:00

src/Format.cpp: use make_pair

Use make_pair(...) instead of pair<T, U>(...).
This commit is contained in:
Lars Gullik Bjønnes 2012-10-23 22:38:20 +02:00
parent ecf24f1cb5
commit 435fad1463

View File

@ -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<string, ZippedInfo>(fname, ZippedInfo(zipped, timestamp)));
zipped_.insert(make_pair(fname, ZippedInfo(zipped, timestamp)));
return zipped;
}