summaryrefslogtreecommitdiff
path: root/apt-pkg/solver3.h
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/solver3.h')
-rw-r--r--apt-pkg/solver3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/solver3.h b/apt-pkg/solver3.h
index 1e1d8a56d..548c3b777 100644
--- a/apt-pkg/solver3.h
+++ b/apt-pkg/solver3.h
@@ -180,7 +180,7 @@ class Solver
// \brief Undo a single assignment / solved work item
void UndoOne();
// \brief Add work to our work queue.
- void AddWork(Work &&work);
+ [[nodiscard]] bool AddWork(Work &&work);
// \brief Rescore the work after a reject or a pop
void RescoreWorkIfNeeded();