diff --git a/include/xeus/xkernel.hpp b/include/xeus/xkernel.hpp index 2645c522..81a78f3b 100644 --- a/include/xeus/xkernel.hpp +++ b/include/xeus/xkernel.hpp @@ -20,6 +20,7 @@ #include "xlogger.hpp" #include #include +#include namespace xeus { @@ -39,9 +40,9 @@ namespace xeus using logger_ptr = std::unique_ptr; using server_ptr = std::unique_ptr; using debugger_ptr = std::unique_ptr; - using server_builder = server_ptr (*)(xcontext& context, - const xconfiguration& config, - nl::json::error_handler_t eh); + using server_builder = std::function; using debugger_builder = debugger_ptr (*)(xcontext& context, const xconfiguration& config, const std::string&,