aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-04-09 14:21:40 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-04-09 14:21:40 +0300
commitff31010a21cc1d9dad309533ff0752a994dd233e (patch)
treec2d1c33fc9fc92c722c61fcc6982aee2d33ef4a5
parentac838a3c051e8f15514f0454b060d00695b372f7 (diff)
Fix Clang 8 "defaulted function deleted" warnings
-rw-r--r--build2/function.hxx2
-rw-r--r--build2/test/script/builtin.hxx1
2 files changed, 0 insertions, 3 deletions
diff --git a/build2/function.hxx b/build2/function.hxx
index e9e0939..1b49f81 100644
--- a/build2/function.hxx
+++ b/build2/function.hxx
@@ -119,8 +119,6 @@ namespace build2
std::aligned_storage<sizeof (void*) * 3>::type data;
static const size_t data_size = sizeof (decltype (data));
- function_overload () = default;
-
function_overload (const char* an,
size_t mi, size_t ma, types ts,
function_impl* im)
diff --git a/build2/test/script/builtin.hxx b/build2/test/script/builtin.hxx
index 1d7113d..2c6c0c5 100644
--- a/build2/test/script/builtin.hxx
+++ b/build2/test/script/builtin.hxx
@@ -35,7 +35,6 @@ namespace build2
builtin (uint8_t& r, thread&& t = thread ()): r_ (r), t_ (move (t)) {}
builtin (builtin&&) = default;
- builtin& operator= (builtin&&) = default;
private:
uint8_t& r_;