diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-03-19 11:34:10 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-03-28 16:03:35 +0200 |
commit | 9d0d078ff297138622cd2f3f1076f5984395e42b (patch) | |
tree | f8b93311adc03410422b3d602ba000822394aebc /build2/parser.cxx | |
parent | eb8b0f33b5e3b8a03d9c1b5230028ba9b9e8c391 (diff) |
Add support for pair representation reversibility
Diffstat (limited to 'build2/parser.cxx')
-rw-r--r-- | build2/parser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/parser.cxx b/build2/parser.cxx index e1d63aa..ab9012c 100644 --- a/build2/parser.cxx +++ b/build2/parser.cxx @@ -1064,7 +1064,7 @@ namespace build2 // Should evaluate to true or false. // - if (ns.size () != 1 || !value_traits<bool>::assign (ns[0])) + if (ns.size () != 1 || !assign<bool> (ns[0])) fail (nsl) << "expected " << k << "-expression to evaluate to " << "'true' or 'false' instead of '" << ns << "'"; |