#include "dolog.hh"
+// NOLINTNEXTLINE(readability-function-cognitive-complexity): this function declares Lua bindings, even with a good refactoring it will likely blow up the threshold
void setupLuaBindings(LuaContext& luaCtx, bool client)
{
luaCtx.writeFunction("vinfolog", [](const string& arg) {
}
return Netmask(comboAddr);
}
- else if (addrOrStr.type() == typeid(std::string)) {
+ if (addrOrStr.type() == typeid(std::string)) {
const auto& str = boost::get<std::string>(addrOrStr);
return Netmask(str);
}