]> git.lyx.org Git - features.git/commitdiff
nullptr
authorRichard Kimberly Heck <rikiheck@lyx.org>
Tue, 24 Nov 2020 21:58:07 +0000 (16:58 -0500)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Tue, 24 Nov 2020 22:07:16 +0000 (17:07 -0500)
src/mathed/MathFactory.cpp

index 54fe012857007c3a554ba66e05ba0fba05f3fae4..20720f1fceccdf9a378b2433be1e66e00b99b513 100644 (file)
@@ -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())