From 59b8099d79b5e103585b66279f191f4cb421a770 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 22 Dec 2025 22:12:33 +0100 Subject: 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 --- cmdline/apt.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmdline') 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 GetCommands() /*{{{*/ -- cgit v1.2.3-70-g09d2