Remove unnecessary copy ctors/copy assignment operators

C++11 deprecates having one without the other.
Eliminates many, many GCC -Wdeprecated-copy warnings.
This commit is contained in:
Paul Cornett
2019-10-14 09:07:21 -07:00
parent 764c01832d
commit a3598ba33f
15 changed files with 0 additions and 106 deletions

View File

@@ -911,8 +911,6 @@ public:
public:
iterator() {}
iterator(const iterator& i) : m_cur(i.m_cur) {}
reference operator*()
{ return wxUniCharRef::CreateForString(m_cur); }
@@ -946,7 +944,6 @@ public:
public:
const_iterator() {}
const_iterator(const const_iterator& i) : m_cur(i.m_cur) {}
const_iterator(const iterator& i) : m_cur(i.m_cur) {}
const_reference operator*() const
@@ -1015,8 +1012,6 @@ public:
reverse_iterator_impl() {}
reverse_iterator_impl(iterator_type i) : m_cur(i) {}
reverse_iterator_impl(const reverse_iterator_impl& ri)
: m_cur(ri.m_cur) {}
iterator_type base() const { return m_cur; }