mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Linux fix
This commit is contained in:
parent
8f0ba26dd1
commit
4197df710b
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ Beefy::String bf::System::Object::GetTypeName()
|
||||||
String* strObj = BFRTCALLBACKS.String_Alloc();
|
String* strObj = BFRTCALLBACKS.String_Alloc();
|
||||||
Type* type = _GetType();
|
Type* type = _GetType();
|
||||||
BFRTCALLBACKS.Type_GetFullName(type, strObj);
|
BFRTCALLBACKS.Type_GetFullName(type, strObj);
|
||||||
Beefy::StringSimple str = strObj->ToStringView();
|
Beefy::String str(strObj->ToStringView());
|
||||||
BFRTCALLBACKS.Object_Delete(strObj);
|
BFRTCALLBACKS.Object_Delete(strObj);
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ Beefy::String bf::System::Type::GetFullName()
|
||||||
{
|
{
|
||||||
String* strObj = BFRTCALLBACKS.String_Alloc();
|
String* strObj = BFRTCALLBACKS.String_Alloc();
|
||||||
BFRTCALLBACKS.Type_GetFullName(this, strObj);
|
BFRTCALLBACKS.Type_GetFullName(this, strObj);
|
||||||
Beefy::StringSimple str = strObj->ToStringView();
|
Beefy::String str(strObj->ToStringView());
|
||||||
BFRTCALLBACKS.Object_Delete(strObj);
|
BFRTCALLBACKS.Object_Delete(strObj);
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue