From 265a88e2acad83d334d2110aced26987f96aa145 Mon Sep 17 00:00:00 2001 From: Chaoguang Lin Date: Wed, 9 Dec 2020 22:30:18 -0800 Subject: [PATCH] Fix signature --- fdbrpc/IAsyncFile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdbrpc/IAsyncFile.h b/fdbrpc/IAsyncFile.h index 0e3e3cc158..b8fe40ebfd 100644 --- a/fdbrpc/IAsyncFile.h +++ b/fdbrpc/IAsyncFile.h @@ -84,7 +84,7 @@ public: virtual int64_t debugFD() = 0; // Used for rate control, at present, only AsyncFileCached supports it - virtual void setRateControl(Reference rc) { throw unsupported_operation(); } + virtual void setRateControl(Reference const& rc) { throw unsupported_operation(); } }; typedef void (*runCycleFuncPtr)();