]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/adaptation/icap/Config.h
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / adaptation / icap / Config.h
index b6378c4bcfcc42e5d06d4dfe73f0f2ddce5e544a..ccf1ec5606308e256cbaf4f41fe5c600990fd995 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
+ * 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.
@@ -39,7 +39,7 @@ public:
     int repeat_limit; ///< icap_retry_limit in squid.conf
 
     Config();
-    ~Config();
+    ~Config() override;
 
     time_t connect_timeout(bool bypassable) const;
     time_t io_timeout(bool bypassable) const;
@@ -48,7 +48,7 @@ private:
     Config(const Config &); // not implemented
     Config &operator =(const Config &); // not implemented
 
-    virtual Adaptation::ServicePointer createService(const ServiceConfigPointer &cfg);
+    Adaptation::ServicePointer createService(const ServiceConfigPointer &cfg) override;
 };
 
 extern Config TheConfig;
@@ -57,3 +57,4 @@ extern Config TheConfig;
 } // namespace Adaptation
 
 #endif /* SQUID_ICAPCONFIG_H */
+