Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / djvulibre / c++17-register-class.patch
blob88251b34f7732066c64e2746b810ccdc4bd62c69
1 diff -ur a/libdjvu/GBitmap.h b/libdjvu/GBitmap.h
2 --- a/libdjvu/GBitmap.h 2020-11-20 09:57:32.000000000 -0700
3 +++ b/libdjvu/GBitmap.h 2023-07-07 07:07:45.519912414 -0600
4 @@ -620,7 +620,7 @@
5 inline int
6 GBitmap::read_run(unsigned char *&data)
8 - register int z=*data++;
9 + int z=*data++;
10 return (z>=RUNOVERFLOWVALUE)?
11 ((z&~RUNOVERFLOWVALUE)<<8)|(*data++):z;
13 @@ -628,7 +628,7 @@
14 inline int
15 GBitmap::read_run(const unsigned char *&data)
17 - register int z=*data++;
18 + int z=*data++;
19 return (z>=RUNOVERFLOWVALUE)?
20 ((z&~RUNOVERFLOWVALUE)<<8)|(*data++):z;