Skip to content

Commit 1ee9423

Browse files
committed
fix
1 parent 46288eb commit 1ee9423

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/cppredis/client.hpp

+4
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ namespace cpp_redis {
5656
}
5757

5858
~redis_client() = default;
59+
redis_client(const redis_client&) = delete;
60+
redis_client(redis_client&&) = delete;
61+
redis_client& operator=(const redis_client&) = delete;
62+
redis_client& operator=(redis_client&&) = delete;
5963

6064
std::string get_current_error() {
6165
if (client_ == nullptr) {

0 commit comments

Comments
 (0)