summaryrefslogtreecommitdiff
path: root/apt-pkg/sourcelist.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/sourcelist.cc')
-rw-r--r--apt-pkg/sourcelist.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/sourcelist.cc b/apt-pkg/sourcelist.cc
index 819344281..94fe02531 100644
--- a/apt-pkg/sourcelist.cc
+++ b/apt-pkg/sourcelist.cc
@@ -563,7 +563,7 @@ bool pkgSourceList::AddVolatileFile(std::string const &File, std::vector<std::st
if (File.empty() || FileExists(File) == false)
return false;
- std::string const ext = flExtension(File);
+ auto const ext = flExtension(File);
// udeb is not included as installing it is usually a mistake rather than intended
if (ext == "deb" || ext == "ddeb")
AddVolatileFile(new debDebPkgFileIndex(File));