Fix non-virtual destructor and missing return value (fixes "illegal instruction" under FreeBSD)

pull/40/head
Vitaliy Filippov 2015-10-10 21:43:54 +00:00
parent df99954382
commit 81b1a4f05c
2 changed files with 2 additions and 1 deletions

View File

@ -192,6 +192,7 @@ bool State::Update( const Entry& e )
return true;
}
m_res.Update( res, e, m_last_change ) ;
return true;
}
else if ( Resource *parent = m_res.FindByHref( e.ParentHref() ) )
{

View File

@ -66,7 +66,7 @@ public :
virtual bool IsEnabled( log::Serverity s ) const = 0 ;
static LogBase* Inst( std::auto_ptr<LogBase> log = std::auto_ptr<LogBase>() ) ;
~LogBase() ;
virtual ~LogBase() ;
protected :
LogBase() ;