stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elemi...@apache.org
Subject svn commit: r668289 - /stdcxx/branches/4.3.x/include/rw/_forward.h
Date Mon, 16 Jun 2008 20:21:36 GMT
Author: elemings
Date: Mon Jun 16 13:21:35 2008
New Revision: 668289

URL: http://svn.apache.org/viewvc?rev=668289&view=rev
Log:
2008-06-16  Eric Lemings <eric.lemings@roguewave.com>

	STDCXX-958
	* include/rw/_forward.h (std::identity<T>::operator()): Add
	missing `const' to function signature.


Modified:
    stdcxx/branches/4.3.x/include/rw/_forward.h

Modified: stdcxx/branches/4.3.x/include/rw/_forward.h
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.3.x/include/rw/_forward.h?rev=668289&r1=668288&r2=668289&view=diff
==============================================================================
--- stdcxx/branches/4.3.x/include/rw/_forward.h (original)
+++ stdcxx/branches/4.3.x/include/rw/_forward.h Mon Jun 16 13:21:35 2008
@@ -65,7 +65,7 @@
      * @param __x An value convertible to identity type.
      * @returns Same value as the function argument with identity type.
      */
-    const _Type& operator() (const _Type& __x) {
+    const _Type& operator() (const _Type& __x) const {
         return __x;
     }
 };



Mime
View raw message