]> git.saurik.com Git - apt.git/blobdiff - apt-inst/database.cc
use forward declaration in headers if possible instead of includes
[apt.git] / apt-inst / database.cc
index 1a94e13539d3d28a6f02f10cd5ab3d3b4c32446b..da7613491105eb9b9e11904d4f9872c56bc3add5 100644 (file)
@@ -11,6 +11,8 @@
 #include<config.h>
 
 #include <apt-pkg/database.h>
+#include <apt-pkg/filelist.h>
+#include <apt-pkg/pkgcachegen.h>
                                                                        /*}}}*/
 
 // DataBase::GetMetaTmp - Get the temp dir                             /*{{{*/
@@ -26,3 +28,8 @@ bool pkgDataBase::GetMetaTmp(std::string &Dir)
    return true;
 }
                                                                        /*}}}*/
+pkgDataBase::~pkgDataBase()
+{
+   delete Cache;
+   delete FList;
+}