1
0
Fork 0
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:
winlin 2014-06-27 13:40:17 +08:00
parent b357504b1d
commit efed34301c
2 changed files with 11 additions and 0 deletions

View file

@ -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;

View file

@ -35,6 +35,9 @@ class SrsConfDirective;
class SrsRefer class SrsRefer
{ {
public:
SrsRefer();
virtual ~SrsRefer();
public: public:
/** /**
* to check the refer. * to check the refer.