mirror of https://github.com/davisking/dlib.git
remove register keyword from jdhuff for C++17 (#1612)
the register storage specifier was deprecated in C++11 and removed in C++17
This commit is contained in:
parent
61a021c932
commit
fb4c62cc67
|
@ -293,7 +293,7 @@ jpeg_make_d_derived_tbl (j_decompress_ptr cinfo, int isDC, int tblno,
|
|||
|
||||
GLOBAL(int)
|
||||
jpeg_fill_bit_buffer (bitread_working_state * state,
|
||||
bit_buf_type get_buffer, register int bits_left,
|
||||
bit_buf_type get_buffer, int bits_left,
|
||||
int nbits)
|
||||
/* Load up the bit buffer to a depth of at least nbits */
|
||||
{
|
||||
|
@ -399,7 +399,7 @@ jpeg_fill_bit_buffer (bitread_working_state * state,
|
|||
|
||||
GLOBAL(int)
|
||||
jpeg_huff_decode (bitread_working_state * state,
|
||||
bit_buf_type get_buffer, register int bits_left,
|
||||
bit_buf_type get_buffer, int bits_left,
|
||||
d_derived_tbl * htbl, int min_bits)
|
||||
{
|
||||
int l = min_bits;
|
||||
|
|
Loading…
Reference in New Issue