Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54431 - /trunk/core/libycp/src/YCPBuiltinList.cc
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Wed, 07 Jan 2009 14:03:01 -0000
  • Message-id: <E1LKYzt-0005zE-FG@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Wed Jan 7 15:03:01 2009
New Revision: 54431

URL: http://svn.opensuse.org/viewcvs/yast?rev=54431&view=rev
Log:
- use YCPMap::const_iterator

Modified:
trunk/core/libycp/src/YCPBuiltinList.cc

Modified: trunk/core/libycp/src/YCPBuiltinList.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/core/libycp/src/YCPBuiltinList.cc?rev=54431&r1=54430&r2=54431&view=diff
==============================================================================
--- trunk/core/libycp/src/YCPBuiltinList.cc (original)
+++ trunk/core/libycp/src/YCPBuiltinList.cc Wed Jan 7 15:03:01 2009
@@ -541,8 +541,8 @@
curr_map = curr_value->asMap();
if ( curr_map->size() == 1 )
{
- YCPMapIterator it = curr_map->begin();
- ret->add (it.key(), it.value());
+ YCPMap::const_iterator it = curr_map->begin();
+ ret->add(it->first, it->second);
}
else
{

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages