Cylix / cpp_redis

C++11 Lightweight Redis client: async, thread-safe, no dependency, pipelining, multi-platform - NO LONGER MAINTAINED - Please check https://github.com/cpp-redis/cpp_redis
MIT License
1.25k stars 554 forks source link

Fix redundant copy of caught exception #195

Closed knowledge4igor closed 6 years ago

knowledge4igor commented 6 years ago

Using cppcheck I have found redundant calls of copy constructors for caught exception during rethrowing.

Cylix commented 6 years ago

Interesting, did not know about this syntax, thanks!

knowledge4igor commented 6 years ago

You are welcome!