diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-02-02 15:13:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-02-02 15:13:26 +0200 |
commit | 459228c4c577be5b58e6e09ddc9404b07c12aee6 (patch) | |
tree | 01d1b1341562e903670e01cdc17a7b1894eeb3a1 /libbuild2 | |
parent | d930b5205e277b522c2a7fe4a7c0e08c5a8afee1 (diff) |
Work around issue in older Clang versions
Diffstat (limited to 'libbuild2')
-rw-r--r-- | libbuild2/diagnostics.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbuild2/diagnostics.hxx b/libbuild2/diagnostics.hxx index c6c4344..179b5c9 100644 --- a/libbuild2/diagnostics.hxx +++ b/libbuild2/diagnostics.hxx @@ -273,6 +273,8 @@ namespace build2 template <typename B> struct diag_noreturn_end: butl::diag_noreturn_end<B> { + diag_noreturn_end () {} // For Clang 3.7 (const needs user default ctor). + using butl::diag_noreturn_end<B>::diag_noreturn_end; [[noreturn]] friend void |