summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2020-07-21 10:14:30 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2020-07-21 10:15:38 -0700
commitdd064afe84b3fd01ef3407dec0aeb22720450048 (patch)
tree722ea9a16b2872c9386b90c9bc7785d6c53476d6
parente031eda08df471c67f9a37289072d338517457a9 (diff)
downloadllvm-dd064afe84b3fd01ef3407dec0aeb22720450048.tar.gz
[lldb] Add missing member initialziation list
My previous commit added the default arguments but didn't use them in the member initialization list...
-rw-r--r--lldb/include/lldb/Interpreter/CommandObject.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/include/lldb/Interpreter/CommandObject.h b/lldb/include/lldb/Interpreter/CommandObject.h
index b927c7eaf262..d5ad969cda66 100644
--- a/lldb/include/lldb/Interpreter/CommandObject.h
+++ b/lldb/include/lldb/Interpreter/CommandObject.h
@@ -96,7 +96,9 @@ public:
CommandArgumentData(lldb::CommandArgumentType type = lldb::eArgTypeNone,
ArgumentRepetitionType repetition = eArgRepeatPlain,
- uint32_t opt_set = LLDB_OPT_SET_ALL) {}
+ uint32_t opt_set = LLDB_OPT_SET_ALL)
+ : arg_type(type), arg_repetition(repetition),
+ arg_opt_set_association(opt_set) {}
};
typedef std::vector<CommandArgumentData>