commit cae1a2d61309a656a4190c9b3be07d6f116e4182 Author: Thibaut Cuvelier <tcuvel...@lyx.org> Date: Fri Feb 7 22:31:33 2025 +0100
Use `nullptr` instead of `0`. --- src/mathed/MacroTable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mathed/MacroTable.cpp b/src/mathed/MacroTable.cpp index d568c2f326..d540a50a62 100644 --- a/src/mathed/MacroTable.cpp +++ b/src/mathed/MacroTable.cpp @@ -132,7 +132,7 @@ docstring const MacroData::xmlname() const char const * MacroData::MathMLtype() const { // TODO: when LyX requires C++17, move to string_view. - return sym_ ? sym_->mathml_type().c_str() : 0; + return sym_ ? sym_->mathml_type().c_str() : nullptr; } -- lyx-cvs mailing list lyx-cvs@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-cvs