You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by fa...@apache.org on 2007/11/15 13:36:20 UTC
svn commit: r595290 - in /incubator/stdcxx/trunk: doc/stdlibug/11-3.html
examples/tutorial/icecream.cpp
Author: faridz
Date: Thu Nov 15 04:36:20 2007
New Revision: 595290
URL: http://svn.apache.org/viewvc?rev=595290&view=rev
Log:
2007-11-15 Farid Zaripov <fa...@epam.com>
Merged r595289 from branches/4.2.x
* examples/tutorial/icecream.cpp: define
eventComparator::operator() as a const member.
* doc/stdlibug/11-3.html: Ditto.
Modified:
incubator/stdcxx/trunk/doc/stdlibug/11-3.html
incubator/stdcxx/trunk/examples/tutorial/icecream.cpp
Modified: incubator/stdcxx/trunk/doc/stdlibug/11-3.html
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/doc/stdlibug/11-3.html?rev=595290&r1=595289&r2=595290&view=diff
==============================================================================
--- incubator/stdcxx/trunk/doc/stdlibug/11-3.html (original)
+++ incubator/stdcxx/trunk/doc/stdlibug/11-3.html Thu Nov 15 04:36:20 2007
@@ -52,7 +52,7 @@
<UL><PRE>
struct eventComparator {
- bool operator() (const event * left, const event * right) {
+ bool operator() (const event * left, const event * right) const {
return left->time > right->time;
}
};
Modified: incubator/stdcxx/trunk/examples/tutorial/icecream.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/examples/tutorial/icecream.cpp?rev=595290&r1=595289&r2=595290&view=diff
==============================================================================
--- incubator/stdcxx/trunk/examples/tutorial/icecream.cpp (original)
+++ incubator/stdcxx/trunk/examples/tutorial/icecream.cpp Thu Nov 15 04:36:20 2007
@@ -48,7 +48,7 @@
};
struct eventComparator {
- bool operator() (const event * left, const event * right) {
+ bool operator() (const event * left, const event * right) const {
return left->time > right->time;
}
};