Skip to content

Commit 87e8d7d

Browse files
authored
Update Device.cpp
1 parent 58ee2e7 commit 87e8d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cachelib/navy/common/Device.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ std::unique_ptr<folly::AsyncBaseOp> AsyncIoContext::prepAsyncIo(IOOp& op) {
902902
asyncOp = std::make_unique<folly::IoUringOp>();
903903
#endif
904904
} else {
905-
asyncOp = std::make_unique<folly::AsyncIOOp>();
905+
asyncOp = std::move(std::make_unique<folly::AsyncIOOp>());
906906
}
907907

908908
if (req.opType_ == OpType::READ) {

0 commit comments

Comments
 (0)