diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-07 11:36:32 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-07 11:36:32 +0100 |
commit | 03df8a8f5c52115d7ba2c8bffcd6c33820c28717 (patch) | |
tree | c60a319adab78a4dc318fbc7ed7b752fc63f1099 /ACE/ace/Svc_Conf_y.cpp | |
parent | c62ecd5955c1350fa25f95deb9bce2c81bc70f1c (diff) | |
download | ATCD-03df8a8f5c52115d7ba2c8bffcd6c33820c28717.tar.gz |
Make use of C++11 using instead of typedef
Diffstat (limited to 'ACE/ace/Svc_Conf_y.cpp')
-rw-r--r-- | ACE/ace/Svc_Conf_y.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ACE/ace/Svc_Conf_y.cpp b/ACE/ace/Svc_Conf_y.cpp index 333682808d5..5e1265369d6 100644 --- a/ACE/ace/Svc_Conf_y.cpp +++ b/ACE/ace/Svc_Conf_y.cpp @@ -189,14 +189,14 @@ typedef int YYSTYPE; #ifdef YYTYPE_UINT8 typedef YYTYPE_UINT8 ace_yytype_uint8; #else -typedef unsigned char ace_yytype_uint8; +using ace_yytype_uint8 = unsigned char; #endif #ifdef YYTYPE_INT8 typedef YYTYPE_INT8 ace_yytype_int8; #elif (defined __STDC__ || defined __C99__FUNC__ \ || defined __cplusplus || defined _MSC_VER) -typedef signed char ace_yytype_int8; +using ace_yytype_int8 = signed char; #else typedef short int ace_yytype_int8; #endif @@ -204,13 +204,13 @@ typedef short int ace_yytype_int8; #ifdef YYTYPE_UINT16 typedef YYTYPE_UINT16 ace_yytype_uint16; #else -typedef unsigned short int ace_yytype_uint16; +using ace_yytype_uint16 = unsigned short; #endif #ifdef YYTYPE_INT16 typedef YYTYPE_INT16 ace_yytype_int16; #else -typedef short int ace_yytype_int16; +using ace_yytype_int16 = short; #endif #ifndef YYSIZE_T |