Fix copy ctor when sizeof(T) > 1.

This commit is contained in:
Steve Checkoway
2006-11-28 00:58:29 +00:00
parent 5aa3e3c7c7
commit ba1bdccafc
+1 -1
View File
@@ -41,7 +41,7 @@ public:
if( size )
{
buf = new T[size];
memcpy( buf, cpy.buf, size );
memcpy( buf, cpy.buf, size*sizeof(T) );
}
else
{