mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 13:40:20 +03:00
Rename the initial value of some enums from init to _init
This commit is contained in:
parent
3b4dc67878
commit
5dd42968e3
3 changed files with 8 additions and 8 deletions
|
@ -848,7 +848,7 @@ private template GenericEncoder()
|
|||
//=============================================================================
|
||||
|
||||
/** Defines various character sets. */
|
||||
enum AsciiChar : ubyte { init }
|
||||
enum AsciiChar : ubyte { _init }
|
||||
/// Ditto
|
||||
alias AsciiString = immutable(AsciiChar)[];
|
||||
|
||||
|
@ -928,7 +928,7 @@ template EncoderInstance(CharType : AsciiChar)
|
|||
//=============================================================================
|
||||
|
||||
/** Defines an Latin1-encoded character. */
|
||||
enum Latin1Char : ubyte { init }
|
||||
enum Latin1Char : ubyte { _init }
|
||||
/**
|
||||
Defines an Latin1-encoded string (as an array of $(D
|
||||
immutable(Latin1Char))).
|
||||
|
@ -1004,7 +1004,7 @@ template EncoderInstance(CharType : Latin1Char)
|
|||
//=============================================================================
|
||||
|
||||
/// Defines a Latin2-encoded character.
|
||||
enum Latin2Char : ubyte { init }
|
||||
enum Latin2Char : ubyte { _init }
|
||||
|
||||
/**
|
||||
* Defines an Latin2-encoded string (as an array of $(D
|
||||
|
@ -1084,7 +1084,7 @@ private template EncoderInstance(CharType : Latin2Char)
|
|||
//=============================================================================
|
||||
|
||||
/// Defines a Windows1250-encoded character.
|
||||
enum Windows1250Char : ubyte { init }
|
||||
enum Windows1250Char : ubyte { _init }
|
||||
|
||||
/**
|
||||
* Defines an Windows1250-encoded string (as an array of $(D
|
||||
|
@ -1177,7 +1177,7 @@ private template EncoderInstance(CharType : Windows1250Char)
|
|||
//=============================================================================
|
||||
|
||||
/// Defines a Windows1251-encoded character.
|
||||
enum Windows1251Char : ubyte { init }
|
||||
enum Windows1251Char : ubyte { _init }
|
||||
|
||||
/**
|
||||
* Defines an Windows1251-encoded string (as an array of $(D
|
||||
|
@ -1272,7 +1272,7 @@ private template EncoderInstance(CharType : Windows1251Char)
|
|||
//=============================================================================
|
||||
|
||||
/// Defines a Windows1252-encoded character.
|
||||
enum Windows1252Char : ubyte { init }
|
||||
enum Windows1252Char : ubyte { _init }
|
||||
|
||||
/**
|
||||
* Defines an Windows1252-encoded string (as an array of $(D
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue