X-Git-Url: https://git.hcoop.net/ntk/apt.git/blobdiff_plain/893d3e85b98124fc28002be5584b685324646037..f932cd7c75cd7b0da99c97064f8d112075ccd7f5:/ftparchive/override.h diff --git a/ftparchive/override.h b/ftparchive/override.h index f270556e..c5cacc2b 100644 --- a/ftparchive/override.h +++ b/ftparchive/override.h @@ -31,20 +31,20 @@ class Override string NewMaint; map FieldOverride; - string SwapMaint(string Orig,bool &Failed); + string SwapMaint(string const &Orig,bool &Failed); ~Item() {}; }; map Mapping; - inline Item *GetItem(string Package) + inline Item *GetItem(string const &Package) { return GetItem(Package, ""); } - Item *GetItem(string Package, string Architecture); + Item *GetItem(string const &Package, string const &Architecture); - bool ReadOverride(string File,bool Source = false); - bool ReadExtraOverride(string File,bool Source = false); + bool ReadOverride(string const &File,bool const &Source = false); + bool ReadExtraOverride(string const &File,bool const &Source = false); }; #endif