X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FModuleList.cpp;h=d2830580461694991945df8e44572119fbebb8d6;hb=7441172d4d9a26eb4824bb8bee003f457ef34f1c;hp=356bbe9379440a7e85ded86908ec9858df6ec1da;hpb=b60259fbe142b26a9167b2205d1fdcf047129eac;p=lyx.git diff --git a/src/ModuleList.cpp b/src/ModuleList.cpp index 356bbe9379..d283058046 100644 --- a/src/ModuleList.cpp +++ b/src/ModuleList.cpp @@ -259,7 +259,7 @@ LyXModule const * ModuleList::operator[](string const & str) const LyXModule const & mod = *it; return &mod; } - return 0; + return nullptr; } @@ -271,7 +271,7 @@ LyXModule * ModuleList::operator[](string const & str) LyXModule & mod = *it; return &mod; } - return 0; + return nullptr; } } // namespace lyx