1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Linux fix

This commit is contained in:
Brian Fiete 2024-03-17 06:26:38 -04:00
parent 8f0ba26dd1
commit 4197df710b

View file

@ -7,7 +7,7 @@ Beefy::String bf::System::Object::GetTypeName()
String* strObj = BFRTCALLBACKS.String_Alloc();
Type* type = _GetType();
BFRTCALLBACKS.Type_GetFullName(type, strObj);
Beefy::StringSimple str = strObj->ToStringView();
Beefy::String str(strObj->ToStringView());
BFRTCALLBACKS.Object_Delete(strObj);
return str;
}
@ -16,7 +16,7 @@ Beefy::String bf::System::Type::GetFullName()
{
String* strObj = BFRTCALLBACKS.String_Alloc();
BFRTCALLBACKS.Type_GetFullName(this, strObj);
Beefy::StringSimple str = strObj->ToStringView();
Beefy::String str(strObj->ToStringView());
BFRTCALLBACKS.Object_Delete(strObj);
return str;
}