1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

Fix to Wenum-compare

It seems the purpose is to define a constant as an anonymous enum.
that behaviour triggers the enum  compare. Let's make it a constant.
This commit is contained in:
Jose Rubio 2019-10-10 17:01:56 +02:00
parent 707cc1256f
commit 20ba7550cd

View file

@ -83,7 +83,7 @@ enum Mode {
const int nModes = mconnetMode + 1;
enum { minShortrefMode = econMode };
const int minShortrefMode = econMode;
#ifdef SP_NAMESPACE
}