summaryrefslogtreecommitdiff
path: root/apt-pkg/deb
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/deb')
-rw-r--r--apt-pkg/deb/deblistparser.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/apt-pkg/deb/deblistparser.cc b/apt-pkg/deb/deblistparser.cc
index db3478f53..375b5dbd6 100644
--- a/apt-pkg/deb/deblistparser.cc
+++ b/apt-pkg/deb/deblistparser.cc
@@ -120,9 +120,9 @@ unsigned char debListParser::ParseMultiArch(bool const showErrors) /*{{{*/
{
unsigned char MA;
auto const MultiArch = Section.Find(pkgTagSection::Key::Multi_Arch);
- if (MultiArch.empty() == true || MultiArch == "no")
+ if (MultiArch.empty() == true || MultiArch == "no"sv)
MA = pkgCache::Version::No;
- else if (MultiArch == "same") {
+ else if (MultiArch == "same"sv) {
if (ArchitectureAll() == true)
{
if (showErrors == true)
@@ -133,9 +133,9 @@ unsigned char debListParser::ParseMultiArch(bool const showErrors) /*{{{*/
else
MA = pkgCache::Version::Same;
}
- else if (MultiArch == "foreign")
+ else if (MultiArch == "foreign"sv)
MA = pkgCache::Version::Foreign;
- else if (MultiArch == "allowed")
+ else if (MultiArch == "allowed"sv)
MA = pkgCache::Version::Allowed;
else
{