Skip to content

Commit

Permalink
) = NULL --> ) = 0 for pure virtual functions
Browse files Browse the repository at this point in the history
  • Loading branch information
BartJongejan committed May 18, 2021
1 parent ef09807 commit 9b02944
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/caseconv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ bool isAllUpperUTF8(const char * s)
return isAllUpper(s,0);
}

bool (*IsAllUpper)(const char * s) = NULL;
bool (*IsAllUpper)(const char * s) = 0;


void AllToLowerISO(char * s)
Expand Down
4 changes: 2 additions & 2 deletions src/text.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class text
bool InputHasTags;
bool StartOfLine;
private:
virtual const char* convert(const char* s, char* buf, const char* lastBufByte) = NULL;
virtual const char* convert(const char* s, char* buf, const char* lastBufByte) = 0;
/*{
REFER(buf)
REFER(lastBufByte)
Expand Down Expand Up @@ -153,7 +153,7 @@ class text
FILE* fpi
#endif
, optionStruct& Option
) = NULL;
) = 0;
virtual ~text();
void createUnTaggedAlternatives(
#ifndef CONSTSTRCHR
Expand Down

0 comments on commit 9b02944

Please sign in to comment.