]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/snmp/Request.h
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / snmp / Request.h
index 27b392684698a5b1a58257b91db162bcaabeb533..dd230ebf825524373c735ffa83ac27f8ad6a0518 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2019 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -24,7 +24,7 @@ namespace Snmp
 class Request: public Ipc::Request
 {
 public:
-    Request(int aRequestorId, unsigned int aRequestId, const Pdu& aPdu,
+    Request(int aRequestorId, Ipc::RequestId aRequestId, const Pdu& aPdu,
             const Session& aSession, int aFd, const Ip::Address& anAddress);
 
     explicit Request(const Ipc::TypedMsgHdr& msg); ///< from recvmsg()
@@ -32,9 +32,6 @@ public:
     virtual void pack(Ipc::TypedMsgHdr& msg) const;
     virtual Pointer clone() const;
 
-private:
-    Request(const Request& request);
-
 public:
     Pdu pdu; ///< SNMP protocol data unit
     Session session; ///< SNMP session