tweak to C++ runtime; nullptr not 0
This commit is contained in:
parent
91df265278
commit
912342b01f
|
@ -70,7 +70,7 @@ namespace tree {
|
|||
/// </summary>
|
||||
/// <returns> The default value returned by visitor methods. </returns>
|
||||
virtual antlrcpp::Any defaultResult() {
|
||||
return 0;
|
||||
return nullptr; // support isNotNull
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue