From 5af7e531b61d763346d5bce9c7c55a126da6be18 Mon Sep 17 00:00:00 2001 From: Hayodea Hekol Date: Sat, 1 Nov 2025 00:05:43 -0400 Subject: [PATCH] Style: use modern C++ style --- stimBuffApis/livoxGen1/stagingBuffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stimBuffApis/livoxGen1/stagingBuffer.h b/stimBuffApis/livoxGen1/stagingBuffer.h index fe90438..9c0f4a1 100644 --- a/stimBuffApis/livoxGen1/stagingBuffer.h +++ b/stimBuffApis/livoxGen1/stagingBuffer.h @@ -148,7 +148,7 @@ assemblingFlag(false) computeSlotStrideAndBufferSize(); - buffer.reset(new uint8_t[bufferNBytes]); + buffer = std::make_unique(bufferNBytes); currentNBytes.store(0); // Build FrameAssemblyDesc once