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

Remove unnecessary copy in Create

This commit is contained in:
Brian Fiete 2025-06-01 07:20:48 +02:00
parent 8bd1ed02bc
commit af096ffad3

View file

@ -67,17 +67,7 @@ struct Guid : IHashable, IParseable<Guid>
{
Guid guid = ?;
Platform.BfpSystem_CreateGUID(&guid);
return Guid(guid.[Friend]mA,
guid.[Friend]mB,
guid.[Friend]mC,
guid.[Friend]mD,
guid.[Friend]mE,
guid.[Friend]mF,
guid.[Friend]mG,
guid.[Friend]mH,
guid.[Friend]mI,
guid.[Friend]mJ,
guid.[Friend]mK);
return guid;
}
public void ToString(String strBuffer, char8 format = 'D')