Skip to content

Commit

Permalink
Fix build when c++ does not have a nullptr (gcc 4.x)
Browse files Browse the repository at this point in the history
  • Loading branch information
wdoekes committed Sep 12, 2019
1 parent 0fd85d7 commit cc24f9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/call.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3264,7 +3264,7 @@ call::T_ActionResult call::executeAction(const char* msg, message* curmsg)
char msgPart[MAX_SUB_MESSAGE_LENGTH];

/* Where to look. */
const char* haystack = nullptr;
const char* haystack = NULL;

if(currentAction->getLookingPlace() == CAction::E_LP_HDR) {
extractSubMessage (msg,
Expand Down
2 changes: 1 addition & 1 deletion src/scenario.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ scenario::~scenario()

CSample *parse_distribution(bool oldstyle = false)
{
CSample *distribution = nullptr;
CSample *distribution = NULL;
const char *distname;
const char *ptr = 0;

Expand Down

0 comments on commit cc24f9d

Please sign in to comment.