[LLD] Add a default copy constructor to avoid warnings

This should fix the failure on the PPC64LE LLD bot.
This commit is contained in:
Nemanja Ivanovic 2019-11-25 14:07:57 -06:00
parent bbc328c624
commit 4d5c8caf9b
1 changed files with 1 additions and 0 deletions

View File

@ -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;