]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Maintenance: Eliminate a (wrong) solution in a TODO comment (#1086)
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 12 Jul 2022 09:36:28 +0000 (09:36 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Tue, 12 Jul 2022 16:30:33 +0000 (16:30 +0000)
src/acl/Acl.h

index 8f07d96444a3036c41ecae9c72eb5da64b33328f..5c9e76836db7371949e660d344537ab3781a24a6 100644 (file)
@@ -121,7 +121,8 @@ namespace Acl {
 class Answer
 {
 public:
-    // not explicit: allow "aclMatchCode to Acl::Answer" conversions (for now)
+    // TODO: Find a good way to avoid implicit conversion (without explicitly
+    // casting every ACCESS_ argument in implicit constructor calls).
     Answer(const aclMatchCode aCode, int aKind = 0): code(aCode), kind(aKind) {}
 
     Answer() = default;