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