summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/COFF/Chunks.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/COFF/Chunks.h b/lld/COFF/Chunks.h
index 6bb629fe998..6aed040069d 100644
--- a/lld/COFF/Chunks.h
+++ b/lld/COFF/Chunks.h
@@ -267,6 +267,7 @@ public:
AssociatedIterator, std::forward_iterator_tag, SectionChunk> {
public:
AssociatedIterator() = default;
+ AssociatedIterator(const AssociatedIterator&) = default;
AssociatedIterator(SectionChunk *head) : cur(head) {}
AssociatedIterator &operator=(const AssociatedIterator &r) {
cur = r.cur;
OpenPOWER on IntegriCloud