mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00
Strict @property syntax compliance.
This enables the test suite to build with the -property switch enabled. std.cpuid: vendor()/processor() have not been converted to properties in accordance to core.cpuid. std.xml: Element.text() cannot be a property due to the optional parameter.
This commit is contained in:
parent
0eddab60b9
commit
e312f9898b
33 changed files with 603 additions and 593 deletions
|
@ -863,7 +863,7 @@ class ErrnoException : Exception
|
|||
uint errno; // operating system error code
|
||||
this(string msg, string file = null, size_t line = 0)
|
||||
{
|
||||
errno = getErrno;
|
||||
errno = getErrno();
|
||||
version (linux)
|
||||
{
|
||||
char[1024] buf = void;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue