Skip to content

Commit 322aac3

Browse files
committed
Fix virtual IsVaid()
1 parent 642ab86 commit 322aac3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sakura_core/CGrepEnumFolders.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class CGrepEnumFolders : public CGrepEnumFileBase {
2727
virtual ~CGrepEnumFolders(){
2828
}
2929

30-
virtual BOOL IsValid( WIN32_FIND_DATA& w32fd, LPCWSTR pFile = NULL ){
30+
BOOL IsValid( WIN32_FIND_DATA& w32fd, LPCWSTR pFile = nullptr ) override {
3131
if( ( w32fd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY )
3232
&& ( 0 != wcscmp( w32fd.cFileName, L"." ) )
3333
&& ( 0 != wcscmp( w32fd.cFileName, L".." ) ) ){

0 commit comments

Comments
 (0)