summaryrefslogtreecommitdiff
path: root/src/cmdline/cmdline_simulate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmdline/cmdline_simulate.cc')
-rw-r--r--src/cmdline/cmdline_simulate.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmdline/cmdline_simulate.cc b/src/cmdline/cmdline_simulate.cc
index 97a8e835..a50d20c1 100644
--- a/src/cmdline/cmdline_simulate.cc
+++ b/src/cmdline/cmdline_simulate.cc
@@ -36,7 +36,7 @@
#include <stdio.h>
-using aptitude::cmdline::terminal;
+using aptitude::cmdline::terminal_metrics;
using boost::shared_ptr;
int cmdline_simulate(bool as_upgrade,
@@ -47,7 +47,7 @@ int cmdline_simulate(bool as_upgrade,
bool always_prompt, int verbose,
bool assume_yes, bool force_no_change,
pkgPolicy &policy, bool arch_only,
- const shared_ptr<terminal> &term)
+ const shared_ptr<terminal_metrics> &term_metrics)
{
if(!cmdline_do_prompt(as_upgrade,
to_install, to_hold, to_remove, to_purge,
@@ -55,7 +55,7 @@ int cmdline_simulate(bool as_upgrade,
always_prompt, verbose,
assume_yes, force_no_change,
policy, arch_only,
- term))
+ term_metrics))
{
printf(_("Abort.\n"));
return 0;