You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by el...@apache.org on 2008/06/16 22:21:36 UTC

svn commit: r668289 - /stdcxx/branches/4.3.x/include/rw/_forward.h

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 <er...@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;
     }
 };