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:
parent
ecf24f1cb5
commit
435fad1463
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user