1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +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 = ?; Guid guid = ?;
Platform.BfpSystem_CreateGUID(&guid); Platform.BfpSystem_CreateGUID(&guid);
return Guid(guid.[Friend]mA, return guid;
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);
} }
public void ToString(String strBuffer, char8 format = 'D') public void ToString(String strBuffer, char8 format = 'D')