aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-07-11 00:20:51 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-11 00:20:51 +0300
commitfcc9a368646a2a71c26a5e2935d6595587857f67 (patch)
tree950834cb49f263711c1500a4f59bc5da9f4b5080
parent4b9be1cb87c4759ca08aa89acd9e9fd7ba5b18be (diff)
Fix to compile with libc++
-rw-r--r--mod/mod-builds.cxx6
1 files changed, 5 insertions, 1 deletions
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