From b65ac14d4f506b619c5b8fc3fccf81519d455471 Mon Sep 17 00:00:00 2001 From: sunwake Date: Thu, 9 Jul 2020 20:14:53 +0800 Subject: [PATCH] fix a compile error fix a compile error, whith compile flag -D__CPP_REDIS_LOGGING_ENABLED --- sources/core/reply.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/core/reply.cpp b/sources/core/reply.cpp index 19c8c98a..d1da2686 100644 --- a/sources/core/reply.cpp +++ b/sources/core/reply.cpp @@ -50,7 +50,7 @@ namespace cpp_redis { if (is_integer()) return optional_t(m_int_val); - __CPP_REDIS_LOG(1, "Reply is not an integer"); + __CPP_REDIS_LOG(warn, "Reply is not an integer"); return {0}; }