mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-31340 fixup: clang++-20 -Wdeprecated-literal-operator
This commit is contained in:
@@ -222,7 +222,7 @@ typedef struct st_mysql_const_lex_string LEX_CSTRING;
|
|||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
static inline constexpr
|
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};
|
return LEX_CSTRING{str, length};
|
||||||
}
|
}
|
||||||
|
@@ -386,48 +386,48 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
static inline constexpr
|
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);
|
return Lex_ident_table(str, length);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static inline constexpr
|
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);
|
return Lex_ident_column(str, length);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline constexpr
|
static inline constexpr
|
||||||
Lex_ident_i_s_table operator"" _Lex_ident_i_s_table(const char *str,
|
Lex_ident_i_s_table operator""_Lex_ident_i_s_table(const char *str,
|
||||||
size_t length)
|
size_t length)
|
||||||
{
|
{
|
||||||
return Lex_ident_i_s_table(str, length);
|
return Lex_ident_i_s_table(str, length);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline constexpr
|
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);
|
return Lex_ident_engine(str, length);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static inline constexpr
|
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);
|
return Lex_ident_locale(str, length);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static inline constexpr
|
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);
|
return Lex_ident_charset(str, length);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static inline constexpr
|
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);
|
return Lex_ident_plugin(str, length);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user