]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/cachefilter.cc
Merge my tree and the remote tree (no change, I guess)
[apt.git] / apt-pkg / cachefilter.cc
index 210a9a9ab8f2eac5047500daabe5c31aedc55bf8..fb444208c21b6f1cebd2d9ae2fbd6cbbcbe381e6 100644 (file)
 #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)