mirror of https://github.com/vitalif/grive2
Fix non-virtual destructor and missing return value (fixes "illegal instruction" under FreeBSD)
parent
df99954382
commit
81b1a4f05c
|
@ -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() ) )
|
||||
{
|
||||
|
|
|
@ -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() ;
|
||||
|
|
Loading…
Reference in New Issue