diff options
| author | Neil <nyamatongwe@gmail.com> | 2018-10-17 09:06:39 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2018-10-17 09:06:39 +1100 |
| commit | c832ba7c7debddc2c2e5475dbd0b203a17bda4c1 (patch) | |
| tree | 97b64418e5ac671f704070d0e01fc892f5bed359 /src/Catalogue.cxx | |
| parent | 918551c28d2d44aa5a18bc1cd520ab2e365325ec (diff) | |
| download | scintilla-mirror-c832ba7c7debddc2c2e5475dbd0b203a17bda4c1.tar.gz | |
Backport: Use nullptr and default brace initialisation for some simple cases.
Backport of changeset 7118:526318f7d6c7.
Diffstat (limited to 'src/Catalogue.cxx')
| -rw-r--r-- | src/Catalogue.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Catalogue.cxx b/src/Catalogue.cxx index 4e5b26bcc..2a42d9f99 100644 --- a/src/Catalogue.cxx +++ b/src/Catalogue.cxx @@ -33,7 +33,7 @@ const LexerModule *Catalogue::Find(int language) { return lm; } } - return 0; + return nullptr; } const LexerModule *Catalogue::Find(const char *languageName) { @@ -45,7 +45,7 @@ const LexerModule *Catalogue::Find(const char *languageName) { } } } - return 0; + return nullptr; } void Catalogue::AddLexerModule(LexerModule *plm) { |
