From 957fb0c7db0e591f288f001f4af4059225e946a3 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Thu, 1 Oct 2020 09:41:17 -0400 Subject: [PATCH] Missed a few --- include/cxxopts.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index f66f793..d630085 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -1084,7 +1084,7 @@ namespace cxxopts std::shared_ptr m_value{}; int m_count; - size_t m_hash; + size_t m_hash{}; }; struct HelpOptionDetails @@ -1373,11 +1373,11 @@ namespace cxxopts const OptionMap& m_options; const PositionalList& m_positional; - std::vector m_sequential; + std::vector m_sequential{}; bool m_allow_unrecognised; - ParsedHashMap m_parsed; - NameHashMap m_keys; + ParsedHashMap m_parsed{}; + NameHashMap m_keys{}; }; class Options