mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 14:40:30 +03:00
Issue 6572 - Deprecate typedef
Remove use of deprecated typedef from phobos. This mostly consists of changing typedef to alias, and disabling unittests that require typedef. One change to std.registry is needed to work around a bug in typedef (6571).
This commit is contained in:
parent
2297b0e2f5
commit
1590a5cc38
10 changed files with 31 additions and 31 deletions
|
@ -63,7 +63,7 @@ version(Win32)
|
|||
private import std.c.windows.windows, std.c.windows.winsock;
|
||||
private alias std.c.windows.winsock.timeval _ctimeval;
|
||||
|
||||
typedef SOCKET socket_t = INVALID_SOCKET;
|
||||
enum socket_t : SOCKET { INVALID_SOCKET };
|
||||
private const int _SOCKET_ERROR = SOCKET_ERROR;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue