From 398418b8fa23ab59f5fc027a7dd6aeba9da4d7bb Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 13 May 2010 09:44:44 +0000 Subject: (svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int --- src/bridge.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/bridge.h') diff --git a/src/bridge.h b/src/bridge.h index 052313e24..771833347 100644 --- a/src/bridge.h +++ b/src/bridge.h @@ -32,9 +32,7 @@ enum BridgePieces { DECLARE_POSTFIX_INCREMENT(BridgePieces) -enum { - MAX_BRIDGES = 13 -}; +static const uint MAX_BRIDGES = 13; typedef uint BridgeType; -- cgit v1.2.3-54-g00ecf