From d899b24a91b62aee99a5c6c3fa716d1c303f4b83 Mon Sep 17 00:00:00 2001 From: fxzjshm Date: Sun, 28 Jul 2024 19:06:26 +0800 Subject: [PATCH] Add space in "operator<<<...>" to avoid syntax error when targeting GPU CUDA/ROCm C++ has additional operator "<<< >>>" to invoke GPU kernel, add a space here to avoid syntax error. Signed-off-by: fxzjshm --- src/sw/redis++/command_args.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sw/redis++/command_args.h b/src/sw/redis++/command_args.h index 25b6531..85524fd 100644 --- a/src/sw/redis++/command_args.h +++ b/src/sw/redis++/command_args.h @@ -133,7 +133,7 @@ auto CmdArgs::operator<<(const std::tuple &arg) -> typename std::enable_if::type { operator<<(std::get(arg)); - return operator<<(arg); + return operator<< (arg); } inline CmdArgs& CmdArgs::_append(std::string arg) {