From 203e7ff72a72b7a52577e48465d601df196c0155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20K=C3=BCrzeder?= Date: Sat, 27 Jul 2019 15:53:29 +0200 Subject: [PATCH] Addendum to last commit --- module/Module.h | 2 -- module/RedisClient.cpp | 4 ++-- module/RedisClient.h | 7 ++----- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/module/Module.h b/module/Module.h index d8badcb..667883a 100644 --- a/module/Module.h +++ b/module/Module.h @@ -10,8 +10,6 @@ struct lua_State; class ILuaModuleManager; -using redis_client = cpp_redis::client; - class Module { public: diff --git a/module/RedisClient.cpp b/module/RedisClient.cpp index bd0d9fc..80801db 100644 --- a/module/RedisClient.cpp +++ b/module/RedisClient.cpp @@ -3,8 +3,8 @@ RedisClient::RedisClient() { - _client = new redis_client(); - _subscriber = new redis_subscriber(); + _client = new cpp_redis::client(); + _subscriber = new cpp_redis::subscriber(); g_Module->AddRedisClient(this); } diff --git a/module/RedisClient.h b/module/RedisClient.h index 4b6ff41..3631381 100644 --- a/module/RedisClient.h +++ b/module/RedisClient.h @@ -2,9 +2,6 @@ #include #include -using redis_client = cpp_redis::client; -using redis_subscriber = cpp_redis::subscriber; - class RedisClient { public: @@ -15,7 +12,7 @@ class RedisClient void disconnect() const; bool is_connected() const; private: - redis_client* _client; - redis_subscriber* _subscriber; + cpp_redis::client* _client; + cpp_redis::subscriber* _subscriber; };