Fix compile warnings.

This commit is contained in:
Wayne Stambaugh 2022-08-11 15:48:49 -04:00
parent 7769069078
commit 47cb817a86
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ public:
m_exclude( exclude )
{ }
virtual wxDirTraverseResult OnFile( const wxString& filename )
virtual wxDirTraverseResult OnFile( const wxString& filename ) override
{
if( !filename.StartsWith( m_exclude ) )
m_files.emplace_back( wxFileName( filename ) );
@ -87,7 +87,7 @@ public:
return wxDIR_CONTINUE;
}
virtual wxDirTraverseResult OnDir( const wxString& dirname )
virtual wxDirTraverseResult OnDir( const wxString& dirname ) override
{
if( !dirname.StartsWith( m_exclude ) )
m_files.emplace_back( wxFileName::DirName( dirname ) );