From a8f1e2b83f7b20d05d9d509e499819d5dde8dcaa Mon Sep 17 00:00:00 2001 From: Andy <550896603@qq.com> Date: Thu, 18 Jan 2024 11:22:29 +0800 Subject: [PATCH] fix checkstyle --- client/windows/clink_cuda/render.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/client/windows/clink_cuda/render.cpp b/client/windows/clink_cuda/render.cpp index dc02736..5e96d81 100644 --- a/client/windows/clink_cuda/render.cpp +++ b/client/windows/clink_cuda/render.cpp @@ -664,7 +664,6 @@ CUresult Render::Dispatch(uint32_t index, uint32_t count, ...) { // set cuda request params std::string params(sizeof(CudaRequest) + sizeof(uint64_t) * count, '\0'); - params.resize(sizeof(CudaRequest) + sizeof(uint64_t) * count); auto cuda = (CudaRequest*)params.data(); cuda->api_index = index; cuda->param_count = count;