SO i have a function that returns a call to another function which returns a class, and I am getting a compiler error...
AoE2Wide.cpp(179): error C3073: 'AoE2Wide::Patch' : ref class does not have a user-defined copy constructor
return FindPatchForExe(fileSize, exeMd5, exeFilename);
Here is the definition i made for the class up above...
Any ideas?
namespace AoE2Wide
{
Patch::Patch(const Patch^ p)
{
PatchFilepath = p->PatchFilepath;
FileSize = p->FileSize;
Md5 = p->Md5;
Version = p->Version;
InterfaceDrsPosition = p->InterfaceDrsPosition;
InterfaceX1DrsPosition = p->InterfaceX1DrsPosition;
Items = p->Items;
}
};