[LyX/master] nullptr

Richard Kimberly Heck rikiheck at lyx.org
Tue Nov 24 21:37:36 UTC 2020


commit 5691b89858c2a5427dd2952775be2d9dbb4024b9
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date:   Tue Nov 24 16:58:07 2020 -0500

    nullptr
---
 src/mathed/MathFactory.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mathed/MathFactory.cpp b/src/mathed/MathFactory.cpp
index 54fe012..20720f1 100644
--- a/src/mathed/MathFactory.cpp
+++ b/src/mathed/MathFactory.cpp
@@ -203,7 +203,7 @@ void initSymbols()
 			} else
 				htmlname = xmlname = "";
 			MacroTable::iterator it = MacroTable::globalMacros().insert(
-					0, from_utf8(macro));
+					nullptr, from_utf8(macro));
 			if (!extra.empty() || !htmlname.empty() || !xmlname.empty() || !required.empty()) {
 				MathWordList::iterator wit = theMathWordList.find(it->first);
 				if (wit != theMathWordList.end())


More information about the lyx-cvs mailing list