diff options
author | Fangrui Song <maskray@google.com> | 2019-05-14 08:55:50 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-05-14 08:55:50 +0000 |
commit | 4c37cc38a065b5e3916faa0017ed4ab5c735df15 (patch) | |
tree | d4c03ce049ec1f5f89fb4218273d1f7492eb023c /include/lldb/Host/Socket.h | |
parent | f45b0767a46f977cb1ad2fb82604dab491a47706 (diff) |
typedef enum -> enum
Reviewed By: labath
Differential Revision: https://reviews.llvm.org/D61883
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@360654 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/lldb/Host/Socket.h')
-rw-r--r-- | include/lldb/Host/Socket.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/lldb/Host/Socket.h b/include/lldb/Host/Socket.h index 0fae2c627..0981808a7 100644 --- a/include/lldb/Host/Socket.h +++ b/include/lldb/Host/Socket.h @@ -39,12 +39,12 @@ typedef int NativeSocket; class Socket : public IOObject { public: - typedef enum { + enum SocketProtocol { ProtocolTcp, ProtocolUdp, ProtocolUnixDomain, ProtocolUnixAbstract - } SocketProtocol; + }; static const NativeSocket kInvalidSocketValue; |