[LyX/master] Use explicit initialization for plain pointer to buffer view.

Stephan Witt switt at lyx.org
Mon Feb 15 09:00:05 UTC 2021


commit 3841304f80513f55ac1bb68336b713e056a72091
Author: Stephan Witt <switt at lyx.org>
Date:   Mon Feb 15 10:03:39 2021 +0100

    Use explicit initialization for plain pointer to buffer view.
---
 src/frontends/qt/GuiSearch.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/frontends/qt/GuiSearch.h b/src/frontends/qt/GuiSearch.h
index 92324df..5898229 100644
--- a/src/frontends/qt/GuiSearch.h
+++ b/src/frontends/qt/GuiSearch.h
@@ -66,7 +66,7 @@ private:
 		     bool casesensitive, bool matchword,
 		     bool forward, bool all);
 	///
-	BufferView const * bv_ = {};
+	BufferView const * bv_ = nullptr;
 	///
 	bool minimized_ = false;
 };


More information about the lyx-cvs mailing list