aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/types.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/types.hxx')
-rw-r--r--build2/cc/types.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/cc/types.hxx b/build2/cc/types.hxx
index 6dc7632..d50c067 100644
--- a/build2/cc/types.hxx
+++ b/build2/cc/types.hxx
@@ -27,9 +27,9 @@ namespace build2
struct module_info
{
- string name; // Not empty if a module unit.
- bool iface; // True if a module interface unit.
- module_imports imports; // Imported modules.
+ string name; // Not empty if a module unit.
+ bool iface = false; // True if a module interface unit.
+ module_imports imports; // Imported modules.
};
enum class translation_type {plain, module_iface, module_impl};