File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ namespace agg
228228 {
229229 AGG_INLINE static unsigned mul (unsigned a, unsigned b)
230230 {
231- register unsigned q = a * b + (1 << (Shift-1 ));
231+ unsigned q = a * b + (1 << (Shift-1 ));
232232 return (q + (q >> Shift)) >> Shift;
233233 }
234234 };
Original file line number Diff line number Diff line change @@ -174,8 +174,8 @@ namespace agg
174174 private:
175175 AGG_INLINE const int8u* pixel () const
176176 {
177- register int x = m_x;
178- register int y = m_y;
177+ int x = m_x;
178+ int y = m_y;
179179 if (x < 0 ) x = 0 ;
180180 if (y < 0 ) y = 0 ;
181181 if (x >= (int )m_pixf->width ()) x = m_pixf->width () - 1 ;
Original file line number Diff line number Diff line change @@ -292,25 +292,25 @@ namespace agg
292292 // ------------------------------------------------------------------------
293293 inline void trans_affine::transform (double * x, double * y) const
294294 {
295- register double tmp = *x;
295+ double tmp = *x;
296296 *x = tmp * sx + *y * shx + tx;
297297 *y = tmp * shy + *y * sy + ty;
298298 }
299299
300300 // ------------------------------------------------------------------------
301301 inline void trans_affine::transform_2x2 (double * x, double * y) const
302302 {
303- register double tmp = *x;
303+ double tmp = *x;
304304 *x = tmp * sx + *y * shx;
305305 *y = tmp * shy + *y * sy;
306306 }
307307
308308 // ------------------------------------------------------------------------
309309 inline void trans_affine::inverse_transform (double * x, double * y) const
310310 {
311- register double d = determinant_reciprocal ();
312- register double a = (*x - tx) * d;
313- register double b = (*y - ty) * d;
311+ double d = determinant_reciprocal ();
312+ double a = (*x - tx) * d;
313+ double b = (*y - ty) * d;
314314 *x = a * sy - b * shx;
315315 *y = b * sx - a * shy;
316316 }
Original file line number Diff line number Diff line change @@ -1480,7 +1480,7 @@ namespace agg
14801480 tok.len = 0 ;
14811481 if (m_src_string == 0 || m_start == -1 ) return tok;
14821482
1483- register const char *pstr = m_src_string + m_start;
1483+ const char *pstr = m_src_string + m_start;
14841484
14851485 if (*pstr == 0 )
14861486 {
You can’t perform that action at this time.
0 commit comments