]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debsystem.cc
make all d-pointer * const pointers
[apt.git] / apt-pkg / deb / debsystem.cc
index 142f3a6e65dacbdc3fedc322bd30131f4bf014ad..465e13b9eb2f3db700736c785ef7fa40b73eb64c 100644 (file)
@@ -38,7 +38,7 @@ using std::string;
 
 debSystem debSys;
 
-class debSystemPrivate {
+class APT_HIDDEN debSystemPrivate {
 public:
    debSystemPrivate() : LockFD(-1), LockCount(0), StatusFile(0)
    {
@@ -53,11 +53,8 @@ public:
 // System::debSystem - Constructor                                     /*{{{*/
 // ---------------------------------------------------------------------
 /* */
-debSystem::debSystem()
+debSystem::debSystem() : pkgSystem("Debian dpkg interface", &debVS), d(new debSystemPrivate())
 {
-   d = new debSystemPrivate();
-   Label = "Debian dpkg interface";
-   VS = &debVS;
 }
                                                                        /*}}}*/
 // System::~debSystem - Destructor                                     /*{{{*/