head 1.1; access; symbols; locks; strict; comment @// @; 1.1 date 2026.05.15.09.15.48; author adam; state Exp; branches; next ; commitid hjlUbFmpNQFQiTFG; desc @@ 1.1 log @dnsdist: fix build with boost 1.91.0 @ text @$NetBSD$ Fix build with boost 1.91.0. --- dnsdist-lua.cc.orig 2026-04-22 17:37:43.000000000 +0000 +++ dnsdist-lua.cc @@@@ -3084,7 +3084,7 @@@@ static void setupLuaConfig(LuaContext& l customName = std::optional(*optCustomName); } if (!customName) { - boost::optional vars = {boost::get(opts.get())}; + boost::optional vars{boost::get(opts.get())}; getOptionalValue(vars, "customName", customName); getOptionalValue(vars, "withLabels", withLabels); checkAllParametersConsumed("declareMetric", vars); @@@@ -3107,7 +3107,7 @@@@ static void setupLuaConfig(LuaContext& l step = *custom_step; } else { - boost::optional vars = {boost::get(incOpts)}; + boost::optional vars{boost::get(incOpts)}; getOptionalValue(vars, "step", step); getOptionalValue>(vars, "labels", labels); checkAllParametersConsumed("incMetric", vars); @@@@ -3129,7 +3129,7 @@@@ static void setupLuaConfig(LuaContext& l step = *custom_step; } else { - boost::optional vars = {boost::get(decOpts)}; + boost::optional vars{boost::get(decOpts)}; getOptionalValue(vars, "step", step); getOptionalValue>(vars, "labels", labels); checkAllParametersConsumed("decMetric", vars); @