summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Zimmerman <matt.zimmerman@canonical.com>2005-02-05 00:00:18 +0000
committerMatt Zimmerman <matt.zimmerman@canonical.com>2005-02-05 00:00:18 +0000
commit8a57929175a93466c83a8e697ad876b60b2eb3c2 (patch)
tree023d64f1d1a53e9657e32e2a54664bf2beed9ede
parenta75c6a6e17c6602a71e03aca8bafa96477a68706 (diff)
Fix compilation errors from apt--auth-cdrom--0
-rw-r--r--cmdline/apt-cdrom.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmdline/apt-cdrom.cc b/cmdline/apt-cdrom.cc
index 5767062e4..8010e7b53 100644
--- a/cmdline/apt-cdrom.cc
+++ b/cmdline/apt-cdrom.cc
@@ -53,7 +53,7 @@ public:
virtual void Update(string text, int current);
virtual bool ChangeCdrom();
virtual OpProgress* GetOpProgress();
-}
+};
void pkgCdromTextStatus::Prompt(const char *Text)
{
@@ -88,13 +88,13 @@ void pkgCdromTextStatus::Update(string text, int current)
cout << text << flush;
}
-virtual bool pkgCdromTextStatus::ChangeCdrom()
+bool pkgCdromTextStatus::ChangeCdrom()
{
Prompt("Please insert a Disc in the drive and press enter");
return true;
}
-virtual OpProgress* pkgCdromTextStatus::GetOpProgress()
+OpProgress* pkgCdromTextStatus::GetOpProgress()
{
return &Progress;
};