aboutsummaryrefslogtreecommitdiff
path: root/build/path
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-05-22 15:09:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-05-22 15:09:04 +0200
commite7688fc3efaa79b3236b9a3775ef1a0ffaeed1b1 (patch)
tree4d14cddf06306f6ea86e3b02b30e1a0d20208fdf /build/path
parente37e3ad0fc67cca41c35c0e1f0dfdd53a80b33e1 (diff)
Some hoop-jumping to make clang happy
Diffstat (limited to 'build/path')
-rw-r--r--build/path6
1 files changed, 4 insertions, 2 deletions
diff --git a/build/path b/build/path
index 94af711..f107391 100644
--- a/build/path
+++ b/build/path
@@ -230,9 +230,11 @@ namespace build
typedef path_traits<C> traits;
- // Construct special empty path.
+ // Construct special empty path. Note that we have to provide our
+ // own implementation rather than using '=default' to make clang
+ // allow default-initialized const instances of this type.
//
- basic_path () = default;
+ basic_path () {};
explicit
basic_path (C const* s): base_type (s) {init ();}