mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 13:40:20 +03:00
Sed "@safe pure nothrow"
This commit is contained in:
parent
24fffa6ecc
commit
d609bd332f
11 changed files with 28 additions and 28 deletions
|
@ -108,7 +108,7 @@ import std.conv, std.digest.md, std.digest.sha, std.random, std.range, std.strin
|
|||
public struct UUID
|
||||
{
|
||||
private:
|
||||
@safe nothrow pure char toChar(size_t i) const
|
||||
@safe pure nothrow char toChar(size_t i) const
|
||||
{
|
||||
if(i <= 9)
|
||||
return cast(char)('0' + i);
|
||||
|
@ -116,7 +116,7 @@ public struct UUID
|
|||
return cast(char)('a' + (i-10));
|
||||
}
|
||||
|
||||
@safe nothrow pure char[36] _toString() const
|
||||
@safe pure nothrow char[36] _toString() const
|
||||
{
|
||||
char[36] result;
|
||||
|
||||
|
@ -625,7 +625,7 @@ public struct UUID
|
|||
/**
|
||||
* Swap the data of this UUID with the data of rhs.
|
||||
*/
|
||||
@safe nothrow pure void swap(ref UUID rhs)
|
||||
@safe pure nothrow void swap(ref UUID rhs)
|
||||
{
|
||||
auto bck = data;
|
||||
data = rhs.data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue