summaryrefslogtreecommitdiff
path: root/cmdline/apt.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2025-12-22 22:12:33 +0100
committerJulian Andres Klode <jak@debian.org>2026-01-05 21:20:24 +0000
commit59b8099d79b5e103585b66279f191f4cb421a770 (patch)
tree42dde585e125f0f5626af50fe1b9c25f4724fc7e /cmdline/apt.cc
parent93675680fca31004d5ea9e011d025c0ff189fc81 (diff)
solver3: Refactor to use a namespace
This removes the need for the forward references, thus fixing part of the libc++ issues pointed out in [merge-511]. [merge-511] https://salsa.debian.org/apt-team/apt/-/merge_requests/511/diffs
Diffstat (limited to 'cmdline/apt.cc')
-rw-r--r--cmdline/apt.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt.cc b/cmdline/apt.cc
index 9acde0b32..39ec68e71 100644
--- a/cmdline/apt.cc
+++ b/cmdline/apt.cc
@@ -66,7 +66,7 @@ static bool DoWhy(CommandLine &CmdL) /*{{{*/
if (unlikely(not CacheFile.BuildDepCache()))
return false;
for (auto pkg : pkgset)
- std::cout << APT::Solver::InternalCliWhy(CacheFile, pkg, decision) << std::flush;
+ std::cout << APT::Solver::Solver::InternalCliWhy(CacheFile, pkg, decision) << std::flush;
return not _error->PendingError();
}
static std::vector<aptDispatchWithHelp> GetCommands() /*{{{*/