summaryrefslogtreecommitdiff
path: root/cmdline/apt-mark.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cmdline/apt-mark.cc')
-rw-r--r--cmdline/apt-mark.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-mark.cc b/cmdline/apt-mark.cc
index 8974397c9..47777009b 100644
--- a/cmdline/apt-mark.cc
+++ b/cmdline/apt-mark.cc
@@ -279,7 +279,7 @@ static bool DoHold(CommandLine &CmdL)
{
if (Pkg->CurrentVer != 0)
continue;
- keepoffset.insert(Pkg);
+ keepoffset.insert(*Pkg);
}
if (keepoffset.empty() == false)