Skip to content

Commit

Permalink
More nullptr fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
John Detter committed Sep 6, 2016
1 parent 5aa718b commit fd7100d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions instructionAPI/src/Operand.C
Expand Up @@ -198,7 +198,7 @@ namespace Dyninst
RegisterAST* r = dynamic_cast<RegisterAST*>(expression);

/* It cannot be both an imm and a register. */
assert(i != nullptr || r != nullptr);
assert(i != NULL || r != NULL);
assert(!(i && r));

if(i)
Expand Down Expand Up @@ -328,7 +328,7 @@ namespace Dyninst
RegisterAST* r = dynamic_cast<RegisterAST*>(expression);

/* It cannot be both an imm and a register. */
assert(i != nullptr || r != nullptr);
assert(i != NULL || r != NULL);
assert(!(i && r));

if(i)
Expand Down

0 comments on commit fd7100d

Please sign in to comment.