File tree 4 files changed +9
-9
lines changed
4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ namespace agg
228
228
{
229
229
AGG_INLINE static unsigned mul (unsigned a, unsigned b)
230
230
{
231
- register unsigned q = a * b + (1 << (Shift-1 ));
231
+ unsigned q = a * b + (1 << (Shift-1 ));
232
232
return (q + (q >> Shift)) >> Shift;
233
233
}
234
234
};
Original file line number Diff line number Diff line change @@ -174,8 +174,8 @@ namespace agg
174
174
private:
175
175
AGG_INLINE const int8u* pixel () const
176
176
{
177
- register int x = m_x;
178
- register int y = m_y;
177
+ int x = m_x;
178
+ int y = m_y;
179
179
if (x < 0 ) x = 0 ;
180
180
if (y < 0 ) y = 0 ;
181
181
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
292
292
// ------------------------------------------------------------------------
293
293
inline void trans_affine::transform (double * x, double * y) const
294
294
{
295
- register double tmp = *x;
295
+ double tmp = *x;
296
296
*x = tmp * sx + *y * shx + tx;
297
297
*y = tmp * shy + *y * sy + ty;
298
298
}
299
299
300
300
// ------------------------------------------------------------------------
301
301
inline void trans_affine::transform_2x2 (double * x, double * y) const
302
302
{
303
- register double tmp = *x;
303
+ double tmp = *x;
304
304
*x = tmp * sx + *y * shx;
305
305
*y = tmp * shy + *y * sy;
306
306
}
307
307
308
308
// ------------------------------------------------------------------------
309
309
inline void trans_affine::inverse_transform (double * x, double * y) const
310
310
{
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;
314
314
*x = a * sy - b * shx;
315
315
*y = b * sx - a * shy;
316
316
}
Original file line number Diff line number Diff line change @@ -1480,7 +1480,7 @@ namespace agg
1480
1480
tok.len = 0 ;
1481
1481
if (m_src_string == 0 || m_start == -1 ) return tok;
1482
1482
1483
- register const char *pstr = m_src_string + m_start;
1483
+ const char *pstr = m_src_string + m_start;
1484
1484
1485
1485
if (*pstr == 0 )
1486
1486
{
You can’t perform that action at this time.
0 commit comments