mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add virtual destructor to SrsRefer
This commit is contained in:
parent
b357504b1d
commit
efed34301c
2 changed files with 11 additions and 0 deletions
|
@ -27,6 +27,14 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
#include <srs_kernel_log.hpp>
|
#include <srs_kernel_log.hpp>
|
||||||
#include <srs_app_config.hpp>
|
#include <srs_app_config.hpp>
|
||||||
|
|
||||||
|
SrsRefer::SrsRefer()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
SrsRefer::~SrsRefer()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
int SrsRefer::check(std::string page_url, SrsConfDirective* refer)
|
int SrsRefer::check(std::string page_url, SrsConfDirective* refer)
|
||||||
{
|
{
|
||||||
int ret = ERROR_SUCCESS;
|
int ret = ERROR_SUCCESS;
|
||||||
|
|
|
@ -35,6 +35,9 @@ class SrsConfDirective;
|
||||||
|
|
||||||
class SrsRefer
|
class SrsRefer
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
|
SrsRefer();
|
||||||
|
virtual ~SrsRefer();
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
* to check the refer.
|
* to check the refer.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue