]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debsrcrecords.cc
add d-pointer, virtual destructors and de-inline de/constructors
[apt.git] / apt-pkg / deb / debsrcrecords.cc
index ca6d098967f38af7335835e6585dd291d50b1333..21a4ff8ea29190dfc5e721e6e530b08ce88af147 100644 (file)
 using std::max;
 using std::string;
 
+debSrcRecordParser::debSrcRecordParser(std::string const &File,pkgIndexFile const *Index)
+   : Parser(Index), Fd(File,FileFd::ReadOnly, FileFd::Extension), Tags(&Fd,102400),
+   iOffset(0), Buffer(NULL) {}
+
 // SrcRecordParser::Binaries - Return the binaries field               /*{{{*/
 // ---------------------------------------------------------------------
 /* This member parses the binaries field into a pair of class arrays and