diff options
Diffstat (limited to 'build2/install')
-rw-r--r-- | build2/install/init.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/install/init.cxx b/build2/install/init.cxx index e301f08..bfe3c7c 100644 --- a/build2/install/init.cxx +++ b/build2/install/init.cxx @@ -80,7 +80,7 @@ namespace build2 if (spec) { - if (cv != nullptr && *cv && !cv->empty ()) // @@ BC LT [null] + if (cv != nullptr && *cv) v = cast<T> (*cv); // Strip CT to T. } else |