aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-11-07 21:00:00 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-11-07 21:01:23 +0100
commitb8a5426cf06447e22647f08b2f36b7768ffeb65f (patch)
treeb7aa8c689435407176e1f6a9219ee42d05521639
parent2db0f08e08d074dc2876b780c76f7261851e7296 (diff)
stats: Attempt to compile fix the new rate_ctr
We wanted to support gcc-4.2 and this didn't allow us to use the C99 initializers inside C++ code. Attempt to initialize the class_id correctly.
-rw-r--r--src/bts.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bts.cpp b/src/bts.cpp
index 122ff20..78d1de5 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -80,6 +80,7 @@ static const struct rate_ctr_desc bts_ctr_description[] = {
static const struct rate_ctr_group_desc bts_ctrg_desc = {
"bts",
"BTS Statistics",
+ OSMO_STATS_CLASS_GLOBAL,
ARRAY_SIZE(bts_ctr_description),
bts_ctr_description,
};