mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 17:54:16 +01:00
MDEV-31340 fixup: clang++-20 -Wdeprecated-literal-operator
This commit is contained in:
parent
d4d5bce2da
commit
4d9548876e
2 changed files with 9 additions and 9 deletions
|
@ -222,7 +222,7 @@ typedef struct st_mysql_const_lex_string LEX_CSTRING;
|
|||
|
||||
#ifdef __cplusplus
|
||||
static inline constexpr
|
||||
LEX_CSTRING operator"" _LEX_CSTRING(const char *str, size_t length)
|
||||
LEX_CSTRING operator""_LEX_CSTRING(const char *str, size_t length)
|
||||
{
|
||||
return LEX_CSTRING{str, length};
|
||||
}
|
||||
|
|
|
@ -386,48 +386,48 @@ public:
|
|||
|
||||
|
||||
static inline constexpr
|
||||
Lex_ident_table operator"" _Lex_ident_table(const char *str, size_t length)
|
||||
Lex_ident_table operator""_Lex_ident_table(const char *str, size_t length)
|
||||
{
|
||||
return Lex_ident_table(str, length);
|
||||
}
|
||||
|
||||
|
||||
static inline constexpr
|
||||
Lex_ident_column operator"" _Lex_ident_column(const char *str, size_t length)
|
||||
Lex_ident_column operator""_Lex_ident_column(const char *str, size_t length)
|
||||
{
|
||||
return Lex_ident_column(str, length);
|
||||
}
|
||||
|
||||
static inline constexpr
|
||||
Lex_ident_i_s_table operator"" _Lex_ident_i_s_table(const char *str,
|
||||
size_t length)
|
||||
Lex_ident_i_s_table operator""_Lex_ident_i_s_table(const char *str,
|
||||
size_t length)
|
||||
{
|
||||
return Lex_ident_i_s_table(str, length);
|
||||
}
|
||||
|
||||
static inline constexpr
|
||||
Lex_ident_engine operator"" _Lex_ident_engine(const char *str, size_t length)
|
||||
Lex_ident_engine operator""_Lex_ident_engine(const char *str, size_t length)
|
||||
{
|
||||
return Lex_ident_engine(str, length);
|
||||
}
|
||||
|
||||
|
||||
static inline constexpr
|
||||
Lex_ident_locale operator"" _Lex_ident_locale(const char *str, size_t length)
|
||||
Lex_ident_locale operator""_Lex_ident_locale(const char *str, size_t length)
|
||||
{
|
||||
return Lex_ident_locale(str, length);
|
||||
}
|
||||
|
||||
|
||||
static inline constexpr
|
||||
Lex_ident_charset operator"" _Lex_ident_charset(const char *str, size_t length)
|
||||
Lex_ident_charset operator""_Lex_ident_charset(const char *str, size_t length)
|
||||
{
|
||||
return Lex_ident_charset(str, length);
|
||||
}
|
||||
|
||||
|
||||
static inline constexpr
|
||||
Lex_ident_plugin operator"" _Lex_ident_plugin(const char *str, size_t length)
|
||||
Lex_ident_plugin operator""_Lex_ident_plugin(const char *str, size_t length)
|
||||
{
|
||||
return Lex_ident_plugin(str, length);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue