aboutsummaryrefslogtreecommitdiff
path: root/build/path
diff options
context:
space:
mode:
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 ();}