1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

enable -Wenum-compare -Wenum-conversion

to make the all headers -std=c++20 clean for those, who need c++20
(some plugins)
This commit is contained in:
Sergei Golubchik
2022-05-06 01:13:05 +02:00
parent 16cebed540
commit 29c07643a1
6 changed files with 21 additions and 23 deletions

View File

@ -2636,10 +2636,10 @@ public:
double import_cost; /* cost of remote operations */
double mem_cost; /* cost of used memory */
enum { IO_COEFF=1 };
enum { CPU_COEFF=1 };
enum { MEM_COEFF=1 };
enum { IMPORT_COEFF=1 };
static const int IO_COEFF=1;
static const int CPU_COEFF=1;
static const int MEM_COEFF=1;
static const int IMPORT_COEFF=1;
Cost_estimate()
{