]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/acl/AnyOf.cc
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / acl / AnyOf.cc
index 845567518ef949857cd01446e2c089bbbde6f017..12dc7d32f3b3b2c1979988c1140e476fa162378e 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * 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.
+ */
+
 #include "squid.h"
 #include "acl/AnyOf.h"
 
@@ -7,12 +15,6 @@ Acl::AnyOf::typeString() const
     return "any-of";
 }
 
-ACL *
-Acl::AnyOf::clone() const
-{
-    return new AnyOf;
-}
-
 // called once per "acl name any-of name1 name2 ...." line
 // but since multiple lines are ORed, the line boundary does not matter,
 // so we flatten the tree into one line/level here to minimize overheads
@@ -21,3 +23,4 @@ Acl::AnyOf::parse()
 {
     lineParse();
 }
+