diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-11-07 21:00:00 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-11-07 21:01:23 +0100 |
commit | b8a5426cf06447e22647f08b2f36b7768ffeb65f (patch) | |
tree | b7aa8c689435407176e1f6a9219ee42d05521639 /src | |
parent | 2db0f08e08d074dc2876b780c76f7261851e7296 (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.
Diffstat (limited to 'src')
-rw-r--r-- | src/bts.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bts.cpp b/src/bts.cpp index 122ff202..78d1de5e 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, }; |