libgrive: Fix destructors of Feed and Feed2

pull/259/head
Andrew Udvare 2019-02-09 17:01:00 -05:00
parent e972a77790
commit 7ef50e9523
4 changed files with 10 additions and 0 deletions

View File

@ -30,6 +30,10 @@ Feed::Feed( const std::string &url ):
{
}
Feed::~Feed()
{
}
Feed::iterator Feed::begin() const
{
return m_entries.begin() ;

View File

@ -41,6 +41,7 @@ public :
public :
Feed( const std::string& url );
virtual bool GetNext( http::Agent *http ) = 0 ;
virtual ~Feed() = 0 ;
iterator begin() const ;
iterator end() const ;

View File

@ -36,6 +36,10 @@ Feed2::Feed2( const std::string& url ):
{
}
Feed2::~Feed2()
{
}
bool Feed2::GetNext( http::Agent *http )
{
if ( m_next.empty() )

View File

@ -31,6 +31,7 @@ class Feed2: public Feed
{
public :
Feed2( const std::string& url ) ;
~Feed2() ;
bool GetNext( http::Agent *http ) ;
} ;