]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/mgr/IntParam.h
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / mgr / IntParam.h
index d500b424e22168fb9ae8433780ffc61fdb2080e2..83255eaa531ac97bd72dd3ff561701d67515b962 100644 (file)
@@ -1,8 +1,13 @@
 /*
- * DEBUG: section 16    Cache Manager API
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
  *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
  */
 
+/* DEBUG: section 16    Cache Manager API */
+
 #ifndef SQUID_MGR_INT_PARAM_H
 #define SQUID_MGR_INT_PARAM_H
 
@@ -19,8 +24,8 @@ class IntParam: public QueryParam
 public:
     IntParam();
     IntParam(const std::vector<int>& anArray);
-    virtual void pack(Ipc::TypedMsgHdr& msg) const;
-    virtual void unpackValue(const Ipc::TypedMsgHdr& msg);
+    void pack(Ipc::TypedMsgHdr& msg) const override;
+    void unpackValue(const Ipc::TypedMsgHdr& msg) override;
     const std::vector<int>& value() const;
 
 private:
@@ -30,3 +35,4 @@ private:
 } // namespace Mgr
 
 #endif /* SQUID_MGR_INT_PARAM_H */
+