]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire.cc
apply various style suggestions by cppcheck
[apt.git] / apt-pkg / acquire.cc
index 75df858a83219fb056041f5b1a23ab9aaa064ced..f70feeeec8c67bbd5e0ef32d13a39dd9342b51a5 100644 (file)
@@ -653,8 +653,8 @@ pkgAcquire::MethodConfig::MethodConfig() : d(NULL), Next(0), SingleInstance(fals
 // Queue::Queue - Constructor                                          /*{{{*/
 // ---------------------------------------------------------------------
 /* */
-pkgAcquire::Queue::Queue(string Name,pkgAcquire *Owner) : d(NULL), Next(0),
-   Name(Name), Items(0), Workers(0), Owner(Owner), PipeDepth(0), MaxPipeDepth(1)
+pkgAcquire::Queue::Queue(string const &name,pkgAcquire * const owner) : d(NULL), Next(0),
+   Name(name), Items(0), Workers(0), Owner(owner), PipeDepth(0), MaxPipeDepth(1)
 {
 }
                                                                        /*}}}*/