aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-12-13 15:27:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-12-13 15:27:16 +0200
commit25c0f97c03799fd64f250ad5cc86b366126ad62b (patch)
tree230e0adc0361aedaa13af16d2520d1396a5496a8
parentf11d720f2fb62b46ad17d3aa3850140a4839f114 (diff)
Fix Clang issue
-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)) {}