aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-05-01 13:14:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-05-01 13:14:18 +0200
commit4d6c5f3c6d2d9c05a3a16598f8c8ee87e59618a2 (patch)
tree9d9e4a149b4e84eedf3be5646f55986ce683cc70
parenta14b9bc18431c6aed8441261d28b6ff20bd25935 (diff)
Fix bug in cc::unit_type initialization
-rw-r--r--build2/cc/types.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/types.hxx b/build2/cc/types.hxx
index e10eca6..4403e4c 100644
--- a/build2/cc/types.hxx
+++ b/build2/cc/types.hxx
@@ -49,7 +49,7 @@ namespace build2
struct unit
{
- unit_type type;
+ unit_type type = unit_type::non_modular;
build2::cc::module_info module_info;
};