Commit 402c03af authored by Yoshitaka Aharen's avatar Yoshitaka Aharen
Browse files

[trac510] style fix; do not set specific values for enums

parent 657349ae
......@@ -56,14 +56,14 @@ private:
public:
// Enum for the type of counter
enum ServerCounterType {
SERVER_UDP_QUERY = 0, ///< SERVER_UDP_QUERY: counter for UDP queries
SERVER_TCP_QUERY = 1, ///< SERVER_TCP_QUERY: counter for TCP queries
SERVER_COUNTER_TYPES = 2 ///< The number of defined counters
SERVER_UDP_QUERY, ///< SERVER_UDP_QUERY: counter for UDP queries
SERVER_TCP_QUERY, ///< SERVER_TCP_QUERY: counter for TCP queries
SERVER_COUNTER_TYPES ///< The number of defined counters
};
enum PerZoneCounterType {
ZONE_UDP_QUERY = 0, ///< ZONE_UDP_QUERY: counter for UDP queries
ZONE_TCP_QUERY = 1, ///< ZONE_TCP_QUERY: counter for TCP queries
PER_ZONE_COUNTER_TYPES = 2 ///< The number of defined counters
ZONE_UDP_QUERY, ///< ZONE_UDP_QUERY: counter for UDP queries
ZONE_TCP_QUERY, ///< ZONE_TCP_QUERY: counter for TCP queries
PER_ZONE_COUNTER_TYPES ///< The number of defined counters
};
/// The constructor.
///
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment