aboutsummaryrefslogtreecommitdiff
path: root/bdep/config.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bdep/config.cxx')
-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;