enums cannot be static. If it needs to be limited to this object file, wrap it in an anonymous namespace. I'm not sure if that is even needed for enums.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
#include "ScreenManager.h"
|
||||
|
||||
|
||||
static enum {
|
||||
enum {
|
||||
PO_PLAYER1,
|
||||
PO_PLAYER2,
|
||||
PO_CREATE_NEW,
|
||||
|
||||
Reference in New Issue
Block a user