stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r595290 - in /incubator/stdcxx/trunk: doc/stdlibug/11-3.html examples/tutorial/icecream.cpp
Date Thu, 15 Nov 2007 12:36:20 GMT
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 <farid_zaripov@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-&gt;time &gt; right-&gt;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;
     }
 };



Mime
View raw message