aboutsummaryrefslogtreecommitdiff
path: root/bdep
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-05-14 19:18:09 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-05-14 19:18:09 +0300
commit58cd2d5788147c80d6f266b6984615bbd23516d7 (patch)
treefc8c25816553361390b435db1c9fab0eed84420b /bdep
parentcbd7cabcc3e6b24e80521bfec230e905f420ff4f (diff)
Add deinit command test
Diffstat (limited to 'bdep')
-rw-r--r--bdep/config.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bdep/config.cxx b/bdep/config.cxx
index 70441cc..e75b817 100644
--- a/bdep/config.cxx
+++ b/bdep/config.cxx
@@ -18,7 +18,7 @@ namespace bdep
static inline void
translate_path_name (const dir_path& prj,
dir_path& path,
- optional<string> name)
+ optional<string>& name)
{
if (name || !path.simple () || path.string ().front () != '@')
return;