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:34:32 UTC
svn commit: r595289 - in /incubator/stdcxx/branches/4.2.x:
doc/stdlibug/11-3.html examples/tutorial/icecream.cpp
Author: faridz
Date: Thu Nov 15 04:34:31 2007
New Revision: 595289
URL: http://svn.apache.org/viewvc?rev=595289&view=rev
Log:
2007-11-15 Farid Zaripov <fa...@epam.com>
* examples/tutorial/icecream.cpp: define
eventComparator::operator() as a const member.
* doc/stdlibug/11-3.html: Ditto.
Modified:
incubator/stdcxx/branches/4.2.x/doc/stdlibug/11-3.html
incubator/stdcxx/branches/4.2.x/examples/tutorial/icecream.cpp
Modified: incubator/stdcxx/branches/4.2.x/doc/stdlibug/11-3.html
URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/4.2.x/doc/stdlibug/11-3.html?rev=595289&r1=595288&r2=595289&view=diff
==============================================================================
--- incubator/stdcxx/branches/4.2.x/doc/stdlibug/11-3.html (original)
+++ incubator/stdcxx/branches/4.2.x/doc/stdlibug/11-3.html Thu Nov 15 04:34:31 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/branches/4.2.x/examples/tutorial/icecream.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/4.2.x/examples/tutorial/icecream.cpp?rev=595289&r1=595288&r2=595289&view=diff
==============================================================================
--- incubator/stdcxx/branches/4.2.x/examples/tutorial/icecream.cpp (original)
+++ incubator/stdcxx/branches/4.2.x/examples/tutorial/icecream.cpp Thu Nov 15 04:34:31 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;
}
};