mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Change public virtual to virtual public
This commit is contained in:
parent
5d959661e7
commit
6e75993e7f
3 changed files with 6 additions and 6 deletions
|
@ -157,12 +157,12 @@ public:
|
|||
* SrsKbps* kbps = ...;
|
||||
* kbps->set_io(in, out);
|
||||
* // both kbps->get_recv_bytes() and kbps->get_send_bytes() are available.
|
||||
* // we can use the kbps as the data source of another kbps:
|
||||
* // we can use the kbps as the data source of another kbps:
|
||||
* SrsKbps* user = ...;
|
||||
* user->set_io(kbps, kbps);
|
||||
* the server never know how many bytes already send/recv, for the connection maybe closed.
|
||||
*/
|
||||
class SrsKbps : public virtual ISrsProtocolStatistic, public virtual IKbpsDelta
|
||||
class SrsKbps : virtual public ISrsProtocolStatistic, virtual public IKbpsDelta
|
||||
{
|
||||
private:
|
||||
SrsKbpsSlice is;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue