diff options
| author | наб <nabijaczleweli@nabijaczleweli.xyz> | 2025-01-23 19:33:57 +0100 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2025-02-14 19:45:12 +0100 |
| commit | 2499d9ff0c55a445a62643028a9d3bc9faf1195a (patch) | |
| tree | 1bab22e439296982bb4cc380a2420a9d805d5a7a /apt-pkg/sourcelist.cc | |
| parent | 4f6d379124bc51a09608fa3f45d66713f927b959 (diff) | |
string{=> _view} flExtension(string{=> _view})
Diffstat (limited to 'apt-pkg/sourcelist.cc')
| -rw-r--r-- | apt-pkg/sourcelist.cc | 2 |
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)); |
