openbsd-ports/games/ivan/patches/patch-FeLib_Include_fearray_h
espie 3398fe88f4 template ctor is A<T>::A()
both gcc3 and 4 agree
2010-05-23 15:58:02 +00:00

22 lines
750 B
Plaintext

$OpenBSD: patch-FeLib_Include_fearray_h,v 1.1 2010/05/23 15:58:02 espie Exp $
--- FeLib/Include/fearray.h.orig Sun May 23 17:33:22 2010
+++ FeLib/Include/fearray.h Sun May 23 17:33:40 2010
@@ -34,7 +34,7 @@ template <class type> struct fearray
};
template <class type>
-inline fearray<type>::fearray<type>(const fearray<type>& A)
+inline fearray<type>::fearray(const fearray<type>& A)
: Data(A.Data), Size(A.Size)
{
if(Data)
@@ -42,7 +42,7 @@ inline fearray<type>::fearray<type>(const fearray<type
}
template <class type>
-inline fearray<type>::fearray<type>(const type* Array, sizetype Size)
+inline fearray<type>::fearray(const type* Array, sizetype Size)
: Size(Size)
{
char* Ptr = new char[Size * sizeof(type) + sizeof(ulong)];