git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: d22f885) | patch
Make our perfect hash functions be valid C++.
2019年5月31日 14:40:00 +0000 (10:40 -0400)
2019年5月31日 14:40:00 +0000 (10:40 -0400)
commit 9e58705a7f9728f10b2e0f0c9adc6e6ecff7486e
Make our perfect hash functions be valid C++.

While C is happy to cast "const void *" to "const unsigned char *"
silently, C++ insists on an explicit cast. Since we put these
functions into header files, cpluspluscheck whines about that.
Add the cast to pacify it.

Discussion: https://postgr.es/m/b517ec3918d645eb950505eac8dd434e@gaz-is.ru
src/tools/PerfectHash.pm diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /