From fcc9a368646a2a71c26a5e2935d6595587857f67 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 11 Jul 2017 00:20:51 +0300 Subject: Fix to compile with libc++ --- mod/mod-builds.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mod/mod-builds.cxx b/mod/mod-builds.cxx index c7a308e..2f436c7 100644 --- a/mod/mod-builds.cxx +++ b/mod/mod-builds.cxx @@ -772,7 +772,11 @@ handle (request& rq, response& rs) } } else - unbuilt_configs = config_toolchains; + // For libc++, the set's copy-assignment operator requires the + // element type to be copy-assignable, for some reason. + // + unbuilt_configs.insert (config_toolchains.begin (), + config_toolchains.end ()); } // Iterate through the package configuration builds and erase them -- cgit v1.1