From a61932027cc17ef438833fccc2ad0b8ad4fb3966 Mon Sep 17 00:00:00 2001 From: Klaus Kaempf Date: Fri, 27 Jan 2006 12:58:46 +0000 Subject: [PATCH] must be a const_iterator --- zypp/solver/detail/QueueItemInstall.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zypp/solver/detail/QueueItemInstall.cc b/zypp/solver/detail/QueueItemInstall.cc index 6b81c449e..62a821263 100644 --- a/zypp/solver/detail/QueueItemInstall.cc +++ b/zypp/solver/detail/QueueItemInstall.cc @@ -79,7 +79,7 @@ operator<<( ostream& os, const QueueItemInstall & item) } if (!item._needed_by.empty()) { os << ", Needed by "; - for (PoolItemList::iterator it = item._needed_by.begin(); it != item._needed_by.end(); ++it) { + for (PoolItemList::const_iterator it = item._needed_by.begin(); it != item._needed_by.end(); ++it) { if (it != item._needed_by.begin()) os << ", "; os << *it; } -- 2.34.1