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:
parent
8bd1ed02bc
commit
af096ffad3
1 changed files with 1 additions and 11 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue