diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2009-11-28 03:19:52 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2009-11-28 03:19:52 +0100 |
commit | 9209ec4701d9f6c21d4ae9ebb648d94a1f32665a (patch) | |
tree | d052b31d98f9a6a75e2dc1489b1c9b4ec0803e6d /ftparchive/multicompress.h | |
parent | ff574e76beb97c101924c2d4746b5a2dbb862f19 (diff) | |
download | apt-9209ec4701d9f6c21d4ae9ebb648d94a1f32665a.tar.gz |
tell every method in ftparchive/ that const& is sexy
Diffstat (limited to 'ftparchive/multicompress.h')
-rw-r--r-- | ftparchive/multicompress.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ftparchive/multicompress.h b/ftparchive/multicompress.h index a65077e73..3ac3b8fb2 100644 --- a/ftparchive/multicompress.h +++ b/ftparchive/multicompress.h @@ -53,9 +53,9 @@ class MultiCompress mode_t Permissions; static const CompType Compressors[]; - bool OpenCompress(const CompType *Prog,pid_t &Pid,int FileFd, - int &OutFd,bool Comp); - bool Child(int Fd); + bool OpenCompress(const CompType *Prog,pid_t &Pid,int const &FileFd, + int &OutFd,bool const &Comp); + bool Child(int const &Fd); bool Start(); bool Die(); @@ -68,10 +68,10 @@ class MultiCompress bool Finalize(unsigned long &OutSize); bool OpenOld(int &Fd,pid_t &Proc); bool CloseOld(int Fd,pid_t Proc); - static bool GetStat(string Output,string Compress,struct stat &St); + static bool GetStat(string const &Output,string const &Compress,struct stat &St); - MultiCompress(string Output,string Compress,mode_t Permissions, - bool Write = true); + MultiCompress(string const &Output,string const &Compress, + mode_t const &Permissions, bool const &Write = true); ~MultiCompress(); }; |