aboutsummaryrefslogtreecommitdiff
path: root/build2/variable
diff options
context:
space:
mode:
Diffstat (limited to 'build2/variable')
-rw-r--r--build2/variable12
1 files changed, 12 insertions, 0 deletions
diff --git a/build2/variable b/build2/variable
index 10f4ac9..0f90c48 100644
--- a/build2/variable
+++ b/build2/variable
@@ -1211,6 +1211,18 @@ namespace build2
//
const variable_map* stem_vars = nullptr;
size_t stem_version = 0;
+
+ // For GCC 4.9.
+ //
+ entry_type () = default;
+ entry_type (variable_map::value_data val,
+ size_t ver,
+ const variable_map* svars,
+ size_t sver)
+ : value (move (val)),
+ version (ver),
+ stem_vars (svars),
+ stem_version (sver) {}
};
using map_type = std::map<K, entry_type>;