aboutsummaryrefslogtreecommitdiff
path: root/build2/algorithm.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/algorithm.hxx')
-rw-r--r--build2/algorithm.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/algorithm.hxx b/build2/algorithm.hxx
index 22b8471..430cc9f 100644
--- a/build2/algorithm.hxx
+++ b/build2/algorithm.hxx
@@ -65,7 +65,7 @@ namespace build2
const string& name,
const string* ext = nullptr, // NULL means unspecified.
const scope* = nullptr, // NULL means dir is absolute.
- const optional<string>& proj = nullopt);
+ const optional<project_name>& proj = nullopt);
const target*
search_existing (const target_type& type,
@@ -74,7 +74,7 @@ namespace build2
const string& name,
const string* ext = nullptr,
const scope* = nullptr,
- const optional<string>& proj = nullopt);
+ const optional<project_name>& proj = nullopt);
// As above but specify the target type as template argument.
//