aboutsummaryrefslogtreecommitdiff
path: root/build/variable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/variable.cxx')
-rw-r--r--build/variable.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/build/variable.cxx b/build/variable.cxx
index 7067d9b..8f99ad9 100644
--- a/build/variable.cxx
+++ b/build/variable.cxx
@@ -39,17 +39,15 @@ namespace build
return n.value;
}
- // Note: get the name's directory.
- //
template <>
- const path& value_proxy::
- as<const path&> () const
+ const dir_path& value_proxy::
+ as<const dir_path&> () const
{
const list_value& lv (as<list_value&> ());
assert (lv.size () < 2);
if (lv.empty ())
- return empty_path;
+ return empty_dir_path;
const name& n (lv.front ());