diff options
Diffstat (limited to 'libbuild2/config/module.cxx')
-rw-r--r-- | libbuild2/config/module.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libbuild2/config/module.cxx b/libbuild2/config/module.cxx index bf68c4e..c84b1fa 100644 --- a/libbuild2/config/module.cxx +++ b/libbuild2/config/module.cxx @@ -12,7 +12,9 @@ namespace build2 namespace config { bool module:: - save_variable (const variable& var, optional<uint64_t> flags) + save_variable (const variable& var, + optional<uint64_t> flags, + save_variable_function* save) { const string& n (var.name); @@ -43,7 +45,7 @@ namespace build2 return false; } - sv.push_back (saved_variable {var, flags}); + sv.push_back (saved_variable {var, flags, save}); return true; } |