mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 16:31:13 +00:00
src/Format.cpp: use make_pair
Use make_pair(...) instead of pair<T, U>(...).
This commit is contained in:
parent
ecf24f1cb5
commit
435fad1463
@ -476,7 +476,7 @@ bool Formats::isZippedFile(support::FileName const & filename) const {
|
|||||||
return it->second.zipped;
|
return it->second.zipped;
|
||||||
string const & format = getFormatFromFile(filename);
|
string const & format = getFormatFromFile(filename);
|
||||||
bool zipped = (format == "gzip" || format == "zip");
|
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;
|
return zipped;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user