commit | b8a5426cf06447e22647f08b2f36b7768ffeb65f | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Sat Nov 07 21:00:00 2015 +0100 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Sat Nov 07 21:01:23 2015 +0100 |
tree | b7aa8c689435407176e1f6a9219ee42d05521639 | |
parent | 2db0f08e08d074dc2876b780c76f7261851e7296 [diff] [blame] |
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.
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_group_desc bts_ctrg_desc = { "bts", "BTS Statistics", + OSMO_STATS_CLASS_GLOBAL, ARRAY_SIZE(bts_ctr_description), bts_ctr_description, };