X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBranchList.h;h=7bf435217de502f102a968bd4c1ce8a2ea1c296c;hb=6ec6db8cd9073bcb856e6a055d12ff95802e22be;hp=c221dc82273df72f5201f5b929b85e5636d9ab28;hpb=514cd879702dc946b75a4f688e3c67478a767a56;p=lyx.git diff --git a/src/BranchList.h b/src/BranchList.h index c221dc8227..7bf435217d 100644 --- a/src/BranchList.h +++ b/src/BranchList.h @@ -16,6 +16,7 @@ #include "support/docstring.h" +#include // rand() #include @@ -43,7 +44,7 @@ namespace lyx { class Branch { public: /// - Branch(); + Branch() {} /// docstring const & branch() const; /// @@ -86,15 +87,15 @@ private: /// docstring branch_; /// - bool selected_; + bool selected_ = false; /// - bool filenameSuffix_; + bool filenameSuffix_ = false; /// light mode background color - std::string lmcolor_; + std::string lmcolor_ = "background"; /// dark mode background color - std::string dmcolor_; + std::string dmcolor_ = "background"; /// - int branch_list_id_; + int branch_list_id_ = 0; };