drivers swapped specifiers to constexpr static

This commit is contained in:
silverqx
2024-03-10 14:34:23 +01:00
parent 126d2d0816
commit c5d00cc9c7

View File

@@ -96,9 +96,9 @@ void
MySqlDriverPrivate::mysqlSetCharacterSet(const QString &host, const bool before) const
{
#ifndef MARIADB_VERSION_ID
static constexpr auto isMaria = false;
constexpr static auto isMaria = false;
#else
static constexpr auto isMaria = true;
constexpr static auto isMaria = true;
#endif
for (const auto *const characterSetName : DefaultCharacterSets)