mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 14:10:30 +03:00
Merge pull request #1189 from 9rnsr/fix_ctor_qual
Change Nullable ctor to inout
This commit is contained in:
commit
93c724f2a3
1 changed files with 1 additions and 1 deletions
|
@ -1169,7 +1169,7 @@ struct Nullable(T)
|
||||||
/**
|
/**
|
||||||
Constructor initializing $(D this) with $(D value).
|
Constructor initializing $(D this) with $(D value).
|
||||||
*/
|
*/
|
||||||
this()(T value)
|
this()(T value) inout
|
||||||
{
|
{
|
||||||
_value = value;
|
_value = value;
|
||||||
_isNull = false;
|
_isNull = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue