From: Alex Rousskov Date: Tue, 12 Jul 2022 09:36:28 +0000 (+0000) Subject: Maintenance: Eliminate a (wrong) solution in a TODO comment (#1086) X-Git-Tag: SQUID_6_0_1~155 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9dc39e0e8aaa1814c418e9f97f666149e5ca9cfc;p=thirdparty%2Fsquid.git Maintenance: Eliminate a (wrong) solution in a TODO comment (#1086) --- diff --git a/src/acl/Acl.h b/src/acl/Acl.h index 8f07d96444..5c9e76836d 100644 --- a/src/acl/Acl.h +++ b/src/acl/Acl.h @@ -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;