aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bdep/config.cxx2
-rw-r--r--bdep/config.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/bdep/config.cxx b/bdep/config.cxx
index 3c7760d..2432263 100644
--- a/bdep/config.cxx
+++ b/bdep/config.cxx
@@ -65,7 +65,7 @@ namespace bdep
cmd_config_validate_add (const configuration_name_options& o,
const char* what,
optional<string>& name,
- optional<uint64_t> id)
+ optional<uint64_t>& id)
{
name = nullopt;
id = nullopt;
diff --git a/bdep/config.hxx b/bdep/config.hxx
index 300bb03..f209aa4 100644
--- a/bdep/config.hxx
+++ b/bdep/config.hxx
@@ -48,7 +48,7 @@ namespace bdep
cmd_config_validate_add (const configuration_name_options&,
const char* what,
optional<string>& name,
- optional<uint64_t> id);
+ optional<uint64_t>& id);
}
#endif // BDEP_CONFIG_HXX