From 7f86118c33fad3a3e22231829fa1d97ffc2b446c Mon Sep 17 00:00:00 2001 From: myq Date: Tue, 18 Feb 2025 10:55:09 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20test-redis++.cpp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test-redis++.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-redis++.cpp b/test-redis++.cpp index 3845ad2..fc8b587 100644 --- a/test-redis++.cpp +++ b/test-redis++.cpp @@ -22,7 +22,7 @@ void keyspace_subscriber_thread(sw::redis::Redis &redis) { try { auto sub = redis.subscriber(); sub.on_message([](std::string channel, std::string msg) { - std::cout << "Received keyspace event from channel " << channel << ": " << msg << std::endl; + std::cout << "Received keyspace event from channel: " << channel << " : " << msg << std::endl; }); //突然又可以了