We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46288eb commit 1ee9423Copy full SHA for 1ee9423
include/cppredis/client.hpp
@@ -56,6 +56,10 @@ namespace cpp_redis {
56
}
57
58
~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;
63
64
std::string get_current_error() {
65
if (client_ == nullptr) {
0 commit comments