aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/name.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/name.hxx b/build2/name.hxx
index 4394236..20a8aa0 100644
--- a/build2/name.hxx
+++ b/build2/name.hxx
@@ -39,7 +39,7 @@ namespace build2
string value;
char pair = '\0';
- name () = default;
+ name () {} // = default; Clang needs this to initialize const object.
name (string v): value (move (v)) {}
name (dir_path d): dir (move (d)) {}
name (string t, string v): type (move (t)), value (move (v)) {}