From efed34301cc571677fd5cf3d55bf473e0e3770eb Mon Sep 17 00:00:00 2001 From: winlin Date: Fri, 27 Jun 2014 13:40:17 +0800 Subject: [PATCH] add virtual destructor to SrsRefer --- trunk/src/app/srs_app_refer.cpp | 8 ++++++++ trunk/src/app/srs_app_refer.hpp | 3 +++ 2 files changed, 11 insertions(+) diff --git a/trunk/src/app/srs_app_refer.cpp b/trunk/src/app/srs_app_refer.cpp index ecf897d3e..adc4e40b2 100644 --- a/trunk/src/app/srs_app_refer.cpp +++ b/trunk/src/app/srs_app_refer.cpp @@ -27,6 +27,14 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include #include +SrsRefer::SrsRefer() +{ +} + +SrsRefer::~SrsRefer() +{ +} + int SrsRefer::check(std::string page_url, SrsConfDirective* refer) { int ret = ERROR_SUCCESS; diff --git a/trunk/src/app/srs_app_refer.hpp b/trunk/src/app/srs_app_refer.hpp index 9e327beb7..7070cfe8d 100644 --- a/trunk/src/app/srs_app_refer.hpp +++ b/trunk/src/app/srs_app_refer.hpp @@ -35,6 +35,9 @@ class SrsConfDirective; class SrsRefer { +public: + SrsRefer(); + virtual ~SrsRefer(); public: /** * to check the refer.