[LyX/master] Nullptr warnings

Richard Kimberly Heck rikiheck at lyx.org
Mon Mar 16 05:50:13 UTC 2020


commit 4732da8dc2ffb44a418b0e776ff607079720736a
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date:   Mon Mar 16 02:09:39 2020 -0400

    Nullptr warnings
---
 src/Font.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Font.h b/src/Font.h
index b845666..79e41b1 100644
--- a/src/Font.h
+++ b/src/Font.h
@@ -33,7 +33,7 @@ class Font {
 
 public:
 	///
-	explicit Font(FontInfo = sane_font, Language const * l = 0);
+	explicit Font(FontInfo = sane_font, Language const * l = nullptr);
 
 	///
 	FontInfo & fontInfo() { return bits_; }
@@ -90,7 +90,7 @@ public:
 
 
 	/// Build GUI description of font state
-	docstring const stateText(BufferParams * params = 0, bool const terse = false) const;
+	docstring const stateText(BufferParams * params = nullptr, bool const terse = false) const;
 
 	///
 	void validate(LaTeXFeatures & features) const;


More information about the lyx-cvs mailing list