mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine code
This commit is contained in:
parent
311cb77b36
commit
7fed6e631a
2 changed files with 7 additions and 7 deletions
|
@ -52,14 +52,14 @@ bool _SrsContextId::empty() const
|
|||
return v_.empty();
|
||||
}
|
||||
|
||||
int _SrsContextId::compare(const _SrsContextId& to) const
|
||||
{
|
||||
return v_.compare(to.v_);
|
||||
}
|
||||
|
||||
_SrsContextId& _SrsContextId::set_value(const std::string& v)
|
||||
{
|
||||
v_ = v;
|
||||
return *this;
|
||||
}
|
||||
|
||||
int _SrsContextId::compare(const _SrsContextId& to) const
|
||||
{
|
||||
return v_.compare(to.v_);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue