aboutsummaryrefslogtreecommitdiff
path: root/build/cxx/rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-08 16:24:14 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-08 16:24:14 +0200
commitb4ceb7b6aecb7492b28d7a0f6c53fa657a2cd2e5 (patch)
tree0452343b865b9c87b1f833fa1e2f4d90b249f643 /build/cxx/rule.cxx
parent6e2e56e8f70faed666a83797cebb96e844650a79 (diff)
Inherit list_value directly from names
Diffstat (limited to 'build/cxx/rule.cxx')
-rw-r--r--build/cxx/rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/cxx/rule.cxx b/build/cxx/rule.cxx
index daa76e0..b4cfb1c 100644
--- a/build/cxx/rule.cxx
+++ b/build/cxx/rule.cxx
@@ -31,7 +31,7 @@ namespace build
{
if (auto val = s[var])
{
- for (const name& n: val.as<const list_value&> ().data)
+ for (const name& n: val.as<const list_value&> ())
{
if (!n.type.empty () || !n.dir.empty ())
fail << "expected option instead of " << n <<