diff -Nur a/trunk/source/gui/GUIRenderer.cpp b/trunk/source/gui/GUIRenderer.cpp
a
|
b
|
|
50 | 50 | { |
51 | 51 | } |
52 | 52 | |
53 | | const DrawCalls& DrawCalls::operator=(const DrawCalls&) |
| 53 | DrawCalls& DrawCalls::operator=(const DrawCalls&) |
54 | 54 | { |
55 | 55 | return *this; |
56 | 56 | } |
diff -Nur a/trunk/source/gui/GUIRenderer.h b/trunk/source/gui/GUIRenderer.h
a
|
b
|
|
69 | 69 | DrawCalls(); |
70 | 70 | // Copy/assignment results in an empty list, not an actual copy |
71 | 71 | DrawCalls(const DrawCalls&); |
72 | | const DrawCalls& operator=(const DrawCalls&); |
| 72 | DrawCalls& operator=(const DrawCalls&); |
73 | 73 | }; |
74 | 74 | } |
75 | 75 | |
diff -Nur a/trunk/source/ps/Overlay.cpp b/trunk/source/ps/Overlay.cpp
a
|
b
|
|
103 | 103 | } |
104 | 104 | |
105 | 105 | // = |
106 | | void CRect::operator = (const CRect& a) |
| 106 | CRect& CRect::operator = (const CRect& a) |
107 | 107 | { |
108 | 108 | left = a.left; |
109 | 109 | top = a.top; |
110 | 110 | right = a.right; |
111 | 111 | bottom = a.bottom; |
| 112 | return *this; |
112 | 113 | } |
113 | 114 | |
114 | 115 | // == |
… |
… |
|
296 | 297 | } |
297 | 298 | |
298 | 299 | // = |
299 | | void CPos::operator = (const CPos& a) |
| 300 | CPos& CPos::operator = (const CPos& a) |
300 | 301 | { |
301 | 302 | x = a.x; |
302 | 303 | y = a.y; |
| 304 | return *this; |
303 | 305 | } |
304 | 306 | |
305 | 307 | // == |
… |
… |
|
397 | 399 | } |
398 | 400 | |
399 | 401 | // = |
400 | | void CSize::operator = (const CSize& a) |
| 402 | CSize& CSize::operator = (const CSize& a) |
401 | 403 | { |
402 | 404 | cx = a.cx; |
403 | 405 | cy = a.cy; |
| 406 | return *this; |
404 | 407 | } |
405 | 408 | |
406 | 409 | // == |
diff -Nur a/trunk/source/ps/Overlay.h b/trunk/source/ps/Overlay.h
a
|
b
|
|
79 | 79 | CRect(const float l, const float t, const float r, const float b); |
80 | 80 | |
81 | 81 | // Operators |
82 | | void operator = (const CRect& a); |
| 82 | CRect& operator = (const CRect& a); |
83 | 83 | bool operator == (const CRect& a) const; |
84 | 84 | bool operator != (const CRect& a) const; |
85 | 85 | CRect operator - (void) const; |
… |
… |
|
172 | 172 | CPos(const float &_x, const float &_y); |
173 | 173 | |
174 | 174 | // Operators |
175 | | void operator = (const CPos& a); |
| 175 | CPos& operator = (const CPos& a); |
176 | 176 | bool operator == (const CPos& a) const; |
177 | 177 | bool operator != (const CPos& a) const; |
178 | 178 | CPos operator - (void) const; |
… |
… |
|
211 | 211 | CSize(const float &_cx, const float &_cy); |
212 | 212 | |
213 | 213 | // Operators |
214 | | void operator = (const CSize& a); |
| 214 | CSize& operator = (const CSize& a); |
215 | 215 | bool operator == (const CSize& a) const; |
216 | 216 | bool operator != (const CSize& a) const; |
217 | 217 | CSize operator - (void) const; |