Skip to content

Commit

Permalink
Default expression string for derived variables should be an empty st…
Browse files Browse the repository at this point in the history
…ring and not null
  • Loading branch information
anagainaru committed Nov 7, 2024
1 parent b70dfd3 commit b85aae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/adios2/core/Engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ class Engine
return false;
}

virtual std::string VariableExprStr(const VariableBase &) { return NULL; }
virtual std::string VariableExprStr(const VariableBase &) { return ""; }

/** Notify the engine when a new attribute is defined. Called from IO.tcc
*/
Expand Down

0 comments on commit b85aae1

Please sign in to comment.