diff options
Diffstat (limited to 'web/apache/service.cxx')
-rw-r--r-- | web/apache/service.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/web/apache/service.cxx b/web/apache/service.cxx index bad98cc..e752f65 100644 --- a/web/apache/service.cxx +++ b/web/apache/service.cxx @@ -16,12 +16,14 @@ #include <cstring> // strlen(), strcmp() #include <exception> +#include <libbutl/utility.mxx> // function_cast() #include <libbutl/optional.mxx> #include <web/module.hxx> #include <web/apache/log.hxx> using namespace std; +using namespace butl; namespace web { @@ -52,7 +54,7 @@ namespace web *d++ = { i.first->first.c_str (), - reinterpret_cast<cmd_func> (parse_option), + function_cast<cmd_func> (parse_option), this, // Allow directives in both server and directory configuration @@ -77,7 +79,7 @@ namespace web *d++ = { "SetHandler", - reinterpret_cast<cmd_func> (parse_option), + function_cast<cmd_func> (parse_option), this, RSRC_CONF | ACCESS_CONF, RAW_ARGS, |