提交 b2e3d33b 编写于 作者: J jai1 提交者: Andrews

Small fixes in CPP Client (#357)

上级 6099e88f
......@@ -44,7 +44,7 @@
static AuthDataPtr Disabled() {
return AuthDataPtr();
}
}
};
}
#endif
#pragma GCC visibility push(default)
......
......@@ -47,10 +47,7 @@ std::ostream& operator<<(std::ostream &os, const BrokerConsumerStats& obj) {
}
double BrokerConsumerStats::getMsgRateOut() const {
if (impl_) {
return impl_->getMsgRateOut();
}
return 0;
return impl_->getMsgRateOut();
}
double BrokerConsumerStats::getMsgThroughputOut() const {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册