From: bert hubert Date: Wed, 22 Apr 2015 05:27:40 +0000 (+0200) Subject: disable some functions that upset gcc in dnsdist-lua.cc X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~88^2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3454cb2ddb30156d50482e77e5b737f444706386;p=pdns disable some functions that upset gcc in dnsdist-lua.cc --- diff --git a/pdns/dnsdist-lua.cc b/pdns/dnsdist-lua.cc index 95f86c80e..643b16b7e 100644 --- a/pdns/dnsdist-lua.cc +++ b/pdns/dnsdist-lua.cc @@ -540,6 +540,7 @@ vector> setupLua(bool client, const std::string& confi // something needs to be done about this, unlocked will 'mostly' work +#if 0 g_lua.writeFunction("getTopQueries", [](unsigned int top, boost::optional labels) { map counts; unsigned int total=0; @@ -602,7 +603,7 @@ vector> setupLua(bool client, const std::string& confi } return ret; }); - +#endif g_lua.writeFunction("getTopResponses", [](unsigned int top, unsigned int kind, boost::optional labels) { map counts; unsigned int total=0;