sewenew / redis-plus-plus

Redis client written in C++
Apache License 2.0
1.64k stars 351 forks source link

Fix some implicit conversions #591

Closed TedLyngmo closed 2 months ago

TedLyngmo commented 2 months ago

Made it possible to compile with -Wshadow -Wconversion -Wcast-qual -Wsign-conversion. Silenced the warnings that would pop up with a static_cast.

The chrono conversion warning that would pop up was silenced by staying within the chrono domain instead of doing a cast.

sewenew commented 2 months ago

Thanks again!

Regards