aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-07-25 12:05:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-07-25 12:05:39 +0200
commitc3a176c5cfae2b2f974c1a5f14b7e1e38a4650df (patch)
tree0d024cc526828eee797f17652389d2c847c8d929 /libbuild2
parent72945d9c8eee18aed1550c3f42dc41e6a8a0f029 (diff)
Work around GCC 4.9 deficiencies
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/module.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbuild2/module.hxx b/libbuild2/module.hxx
index c32fc9a..8343e11 100644
--- a/libbuild2/module.hxx
+++ b/libbuild2/module.hxx
@@ -55,9 +55,9 @@ namespace build2
//
struct module_functions
{
- const char* name = nullptr; // Module/submodule name.
- module_boot_function* boot = nullptr;
- module_init_function* init = nullptr;
+ const char* name; // Module/submodule name.
+ module_boot_function* boot;
+ module_init_function* init;
};
// The build2_<name>_load() function will be written in C++ and will be