security: PolicyManager: In checkVerificationPolicy, pass stepCount by value since the reference is not needed to modify the caller's value, and it is copied through to the ValidationRequest constructor.
diff --git a/src/security/policy/validation-request.hpp b/src/security/policy/validation-request.hpp
index d9facc9..386b45d 100644
--- a/src/security/policy/validation-request.hpp
+++ b/src/security/policy/validation-request.hpp
@@ -17,7 +17,7 @@
public:
ValidationRequest
(const ptr_lib::shared_ptr<Interest> &interest, const OnVerified& onVerified, const OnVerifyFailed& onVerifyFailed,
- const int& retry, const int& stepCount)
+ int retry, int stepCount)
: interest_(interest), onVerified_(onVerified), onVerifyFailed_(onVerifyFailed), retry_(retry), stepCount_(stepCount)
{
}