]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/cachefilter.cc
* apt-pkg/acquire-methods.cc:
[apt.git] / apt-pkg / cachefilter.cc
index 8f0725ea3fd98271b413b3c251cfc885c117c2f9..fb444208c21b6f1cebd2d9ae2fbd6cbbcbe381e6 100644 (file)
@@ -4,19 +4,21 @@
     Collection of functor classes */
                                                                        /*}}}*/
 // Include Files                                                       /*{{{*/
+#include <config.h>
+
 #include <apt-pkg/cachefilter.h>
 #include <apt-pkg/error.h>
 #include <apt-pkg/pkgcache.h>
 
-#include <apti18n.h>
-
 #include <string>
 
 #include <regex.h>
+
+#include <apti18n.h>
                                                                        /*}}}*/
 namespace APT {
 namespace CacheFilter {
-PackageNameMatchesRegEx::PackageNameMatchesRegEx(std::string const &Pattern) {/*{{{*/
+PackageNameMatchesRegEx::PackageNameMatchesRegEx(std::string const &Pattern) : d(NULL) {/*{{{*/
        pattern = new regex_t;
        int const Res = regcomp(pattern, Pattern.c_str(), REG_EXTENDED | REG_ICASE | REG_NOSUB);
        if (Res == 0)