]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4335] Removed extra captures
authorFrancis Dupont <fdupont@isc.org>
Mon, 2 Feb 2026 14:36:02 +0000 (15:36 +0100)
committerFrancis Dupont <fdupont@isc.org>
Mon, 2 Feb 2026 21:25:00 +0000 (22:25 +0100)
src/lib/dhcpsrv/parsers/client_class_def_parser.cc

index 596e82804f61e8bc943df852530ba2c75cf2fbac..39bfc33c626126f612522281f72031002bbf81db 100644 (file)
@@ -112,8 +112,7 @@ ClientClassDefParser::parse(ClientClassDictionaryPtr& class_dictionary,
         // classes in a template expression to be defined.  This permits them to
         // reference spawned classes. In other words, one template can depend on
         // membership in the spawn of another template.
-        check_defined =
-        [&class_dictionary, &depend_on_known, check_dependencies](const ClientClass& cclass) {
+        check_defined = [&depend_on_known](const ClientClass& cclass) {
             // Check direct dependency on [UN]KNOWN
             if ((cclass == "KNOWN") || (cclass == "UNKNOWN")) {
                 depend_on_known = true;