diff options
Diffstat (limited to 'build2/variable')
-rw-r--r-- | build2/variable | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build2/variable b/build2/variable index ea1912a..be3b478 100644 --- a/build2/variable +++ b/build2/variable @@ -1208,10 +1208,11 @@ namespace build2 { public: // If the returned unique lock is locked, then the value has been - // invalidated. + // invalidated. If the variable type does not match the value type, + // then typify the cached value. // pair<value&, ulock> - insert (K, const lookup& stem, size_t version); + insert (K, const lookup& stem, size_t version, const variable&); private: struct entry_type |