handle: Disable passing KeyChain by value in ReadHandle constructor
Change-Id: I5d12a2a0261348baf3aaf0169edcebfecb1701e6
Fixes: #1552
diff --git a/ndn-handle/read-handle.hpp b/ndn-handle/read-handle.hpp
index 9f86c55..2e13b43 100644
--- a/ndn-handle/read-handle.hpp
+++ b/ndn-handle/read-handle.hpp
@@ -28,7 +28,7 @@
{
public:
- ReadHandle(Face& face, StorageHandle& storageHandle, KeyChain keyChain, Scheduler& scheduler)
+ ReadHandle(Face& face, StorageHandle& storageHandle, KeyChain& keyChain, Scheduler& scheduler)
: BaseHandle(face, storageHandle, keyChain, scheduler)
{
}