From 9dc39e0e8aaa1814c418e9f97f666149e5ca9cfc Mon Sep 17 00:00:00 2001 From: Alex Rousskov Date: Tue, 12 Jul 2022 09:36:28 +0000 Subject: [PATCH] Maintenance: Eliminate a (wrong) solution in a TODO comment (#1086) --- src/acl/Acl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.47.2