summaryrefslogtreecommitdiff
path: root/apt-pkg/policy.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-06-29 23:26:38 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-06-29 23:26:38 +0200
commite2bba11c9a1858c98954e7c5299d20a6c0966cc7 (patch)
tree989524c6e7833911ac3bb8de7fdac48450eb1075 /apt-pkg/policy.h
parent1925ea3d0cd6579a4034acb7308e532d025319c7 (diff)
- ensure that only the first specific stanza for a package is used
- save all stanzas which had no effect in Unmatched
Diffstat (limited to 'apt-pkg/policy.h')
-rw-r--r--apt-pkg/policy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/policy.h b/apt-pkg/policy.h
index f8b2678de..a5e6c6048 100644
--- a/apt-pkg/policy.h
+++ b/apt-pkg/policy.h
@@ -55,6 +55,7 @@ class pkgPolicy : public pkgDepCache::Policy
struct PkgPin : Pin
{
string Pkg;
+ PkgPin(string const &Pkg) : Pin(), Pkg(Pkg) {};
};
Pin *Pins;