diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-13 12:03:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-13 12:42:42 +0200 |
commit | fc1a5e0b0f7ba30f27d29c5a17af81fe6d8e86cf (patch) | |
tree | fc66b1e861eca692c6e6f518daf1aac3186cf087 /build2/variable | |
parent | 221b677f07ccb44d2a4a6fb02bfaaa1f0e6b07b5 (diff) |
Make GCC 4.9, VC14 happy
Diffstat (limited to 'build2/variable')
-rw-r--r-- | build2/variable | 12 |
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>; |