aboutsummaryrefslogtreecommitdiff
path: root/build2/algorithm
diff options
context:
space:
mode:
Diffstat (limited to 'build2/algorithm')
-rw-r--r--build2/algorithm4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/algorithm b/build2/algorithm
index 9a91781..ad52fe1 100644
--- a/build2/algorithm
+++ b/build2/algorithm
@@ -44,7 +44,7 @@ namespace build2
const dir_path& dir,
const dir_path& out,
const string& name,
- const string* ext,
+ const optional<string>& ext,
scope*,
const optional<string>& proj = nullopt);
@@ -55,7 +55,7 @@ namespace build2
search (const dir_path& dir,
const dir_path& out,
const string& name,
- const string* ext,
+ const optional<string>& ext,
scope*);
// Search for a target identified by the name. The semantics is "as if" we