Hi,
I got a following error
error C2663: ‘TArray::Add’: 2 overloads have no legal conversion for ‘this’ pointer
.h
FString StringFromBinaryArray(const TArray& BinaryArray);
where my .cpp is
FString ATCPActor::StringFromBinaryArray(const TArray& BinaryArray)
{
BinaryArray.Add(0);
return FString(ANSI_TO_TCHAR(reinterpret_cast<const char*>(BinaryArray.GetData())));
}
Have You got any ideas how to solve?