]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/configuration.cc
merge patch from Daniel Hartwig to Show a error message if {,dist-}upgrade is used...
[apt.git] / apt-pkg / contrib / configuration.cc
index d5334ae7205121f28c78869a91592a3418dee99d..31cd9f8adc25efa0a4d6cf9a3bfd2f3a5105ee3b 100644 (file)
@@ -970,7 +970,7 @@ Configuration::MatchAgainstConfig::MatchAgainstConfig(char const * Config)
         continue;
       }
    }
-   if (strings.size() == 0)
+   if (strings.empty() == true)
       patterns.push_back(NULL);
 }
                                                                        /*}}}*/