still use rvalue reference for parameters
Change-Id: I44e06a375f29b8552cbc58d99c7ac317ff33130c
diff --git a/tools/ndncert-client.cpp b/tools/ndncert-client.cpp
index f7f015c..f1b99dd 100644
--- a/tools/ndncert-client.cpp
+++ b/tools/ndncert-client.cpp
@@ -379,7 +379,7 @@
std::cerr << "\n***************************************\n"
<< "Step " << nStep++ << ": Please provide information for name assignment" << std::endl;
auto capturedParams = captureParams(profile.m_probeParameterKeys);
- face.expressInterest(*Requester::genProbeInterest(profile, capturedParams),
+ face.expressInterest(*Requester::genProbeInterest(profile, std::move(capturedParams)),
bind(&probeCb, _2, profile), bind(&onNackCb), bind(&timeoutCb));
}
else {