aboutsummaryrefslogtreecommitdiff
path: root/build/target
diff options
context:
space:
mode:
Diffstat (limited to 'build/target')
-rw-r--r--build/target6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/target b/build/target
index 0f5de4f..31a590d 100644
--- a/build/target
+++ b/build/target
@@ -135,10 +135,11 @@ namespace build
find (const std::type_index& type,
const path& dir,
const std::string& name,
- const std::string*& ext,
+ const std::string* ext,
tracer& trace) const
{
- return find (key {&type, &dir, &name, &ext}, trace);
+ const std::string* e (ext);
+ return find (key {&type, &dir, &name, &e}, trace);
}
iterator begin () const {return map_.begin ();}
@@ -156,7 +157,6 @@ namespace build
};
extern target_set targets;
- extern target* default_target;
class target_type_map: public std::map<
const char*,