aboutsummaryrefslogtreecommitdiff
path: root/build2/variable.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-12-05 12:56:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-12-05 12:56:44 +0200
commite5e975934fd25811a79f3fc40ba7f94b7d1cb0b4 (patch)
treecc8517a2456a088fe8540111024113db971073d1 /build2/variable.ixx
parent128da0be0a53d12e35aaeaf92dac2df4550ad8cd (diff)
Minor value typification API change
Diffstat (limited to 'build2/variable.ixx')
-rw-r--r--build2/variable.ixx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/variable.ixx b/build2/variable.ixx
index 634e3dc..d7c4326 100644
--- a/build2/variable.ixx
+++ b/build2/variable.ixx
@@ -230,12 +230,12 @@ namespace build2
template <typename T>
inline void
- typify (value& v, const variable& var)
+ typify (value& v, const variable* var)
{
value_type& t (value_traits<T>::value_type);
if (v.type != &t)
- typify (v, t, &var);
+ typify (v, t, var);
}
inline vector_view<const name>