Author: faridz
Date: Mon Aug 20 08:31:49 2007
New Revision: 567728
URL: http://svn.apache.org/viewvc?rev=567728&view=rev
Log:
2007-08-20 Farid Zaripov <[EMAIL PROTECTED]>
* dynatype.cpp (copy): reverted unnecessary changes in r544831.
Modified:
incubator/stdcxx/trunk/examples/tutorial/dynatype.cpp
Modified: incubator/stdcxx/trunk/examples/tutorial/dynatype.cpp
URL:
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/examples/tutorial/dynatype.cpp?rev=567728&r1=567727&r2=567728&view=diff
==============================================================================
--- incubator/stdcxx/trunk/examples/tutorial/dynatype.cpp (original)
+++ incubator/stdcxx/trunk/examples/tutorial/dynatype.cpp Mon Aug 20 08:31:49
2007
@@ -55,7 +55,7 @@
// helper: copies one instance of dynatype to another
template <class T>
void copy (const dynatype &rhs) {
- *this = static_cast<const T&>(rhs);
+ *this = static_cast<T>(rhs);
}
// pointers to the helpers (do not depend on a template parameter)