Mailinglist Archive: yast-commit (1224 mails)
| < Previous | Next > |
[yast-commit] r59580 - /branches/SuSE-Code-11-SP1-Branch/pkg-bindings/src/Locks.cc
- From: dmacvicar@xxxxxxxxxxxxxxxx
- Date: Tue, 17 Nov 2009 12:51:52 -0000
- Message-id: <E1NANXF-0005cm-0E@xxxxxxxxxxxxxxxx>
Author: dmacvicar
Date: Tue Nov 17 13:51:52 2009
New Revision: 59580
URL: http://svn.opensuse.org/viewcvs/yast?rev=59580&view=rev
Log:
fix iterator using non-existing API on SP1
Modified:
branches/SuSE-Code-11-SP1-Branch/pkg-bindings/src/Locks.cc
Modified: branches/SuSE-Code-11-SP1-Branch/pkg-bindings/src/Locks.cc
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/pkg-bindings/src/Locks.cc?rev=59580&r1=59579&r2=59580&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP1-Branch/pkg-bindings/src/Locks.cc (original)
+++ branches/SuSE-Code-11-SP1-Branch/pkg-bindings/src/Locks.cc Tue Nov 17
13:51:52 2009
@@ -65,8 +65,8 @@
{
for_(map_it, lock.begin(), lock.end())
{
- YCPValue key(map_it->first);
- YCPValue val(map_it->second);
+ YCPValue key(map_it.key());
+ YCPValue val(map_it.value());
if (key.isNull())
{
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
Date: Tue Nov 17 13:51:52 2009
New Revision: 59580
URL: http://svn.opensuse.org/viewcvs/yast?rev=59580&view=rev
Log:
fix iterator using non-existing API on SP1
Modified:
branches/SuSE-Code-11-SP1-Branch/pkg-bindings/src/Locks.cc
Modified: branches/SuSE-Code-11-SP1-Branch/pkg-bindings/src/Locks.cc
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/pkg-bindings/src/Locks.cc?rev=59580&r1=59579&r2=59580&view=diff
==============================================================================
--- branches/SuSE-Code-11-SP1-Branch/pkg-bindings/src/Locks.cc (original)
+++ branches/SuSE-Code-11-SP1-Branch/pkg-bindings/src/Locks.cc Tue Nov 17
13:51:52 2009
@@ -65,8 +65,8 @@
{
for_(map_it, lock.begin(), lock.end())
{
- YCPValue key(map_it->first);
- YCPValue val(map_it->second);
+ YCPValue key(map_it.key());
+ YCPValue val(map_it.value());
if (key.isNull())
{
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
| < Previous | Next > |