sewenew / redis-plus-plus

Redis client written in C++
Apache License 2.0
1.6k stars 347 forks source link

Fix some implicit conversions #591

Closed TedLyngmo closed 2 weeks ago

TedLyngmo commented 2 weeks 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 weeks ago

Thanks again!

Regards