summaryrefslogtreecommitdiff
path: root/boost/program_options/option.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/program_options/option.hpp')
-rw-r--r--boost/program_options/option.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/boost/program_options/option.hpp b/boost/program_options/option.hpp
index 1fa6a19234..427678fa78 100644
--- a/boost/program_options/option.hpp
+++ b/boost/program_options/option.hpp
@@ -31,6 +31,7 @@ namespace boost { namespace program_options {
basic_option(const std::string& xstring_key,
const std::vector< std::string> &xvalue)
: string_key(xstring_key)
+ , position_key(-1)
, value(xvalue)
, unregistered(false)
, case_insensitive(false)