blob: 4a0006fb0423ca163bd572a4dc7e1c1d5d3a6cda [file] [log] [blame]
Andrew Weintraube21225a2019-06-24 21:31:35 +00001diff --git a/third_party/agg23/agg_array.h b/third_party/agg23/agg_array.h
2index d521b04..8dcb0af 100644
3--- a/third_party/agg23/agg_array.h
4+++ b/third_party/agg23/agg_array.h
5@@ -32,7 +32,7 @@
6 pod_array() : m_size(0), m_capacity(0), m_array(0) {}
7 pod_array(unsigned cap, unsigned extra_tail = 0);
8 pod_array(const pod_array<T>&);
9- const pod_array<T>& operator = (const pod_array<T>&);
10+ pod_array<T>& operator = (const pod_array<T>&);
11 void capacity(unsigned cap, unsigned extra_tail = 0);
12 unsigned capacity() const
13 {
14@@ -144,7 +144,7 @@
15 {
16 memcpy(m_array, v.m_array, sizeof(T) * v.m_size);
17 }
18-template<class T> const pod_array<T>&
19+template<class T> pod_array<T>&
20 pod_array<T>::operator = (const pod_array<T>&v)
21 {
22 allocate(v.m_size);
23@@ -166,7 +166,7 @@
24 pod_deque();
25 pod_deque(unsigned block_ptr_inc);
26 pod_deque(const pod_deque<T, S>& v);
27- const pod_deque<T, S>& operator = (const pod_deque<T, S>& v);
28+ pod_deque<T, S>& operator = (const pod_deque<T, S>& v);
29 void remove_all()
30 {
31 m_size = 0;
32@@ -323,7 +323,7 @@
33 }
34 }
35 template<class T, unsigned S>
36-const pod_deque<T, S>& pod_deque<T, S>::operator = (const pod_deque<T, S>& v)
37+pod_deque<T, S>& pod_deque<T, S>::operator = (const pod_deque<T, S>& v)
38 {
39 unsigned i;
40 for(i = m_num_blocks; i < v.m_num_blocks; ++i) {