X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Scheduler%2FConsole%2FParsedCommand.hh;h=4de6952de2d00cd9bad6986d7bb73e8249d1b05f;hb=9eef67d8d72e604a938c0335a7d8230a0fb630ca;hp=107ed65a0de9c5cae66de7e1eccf9323efedd1a1;hpb=2da517bbcdb2af10d2322fc762ca27774b53b435;p=senf.git diff --git a/Scheduler/Console/ParsedCommand.hh b/Scheduler/Console/ParsedCommand.hh index 107ed65..4de6952 100644 --- a/Scheduler/Console/ParsedCommand.hh +++ b/Scheduler/Console/ParsedCommand.hh @@ -23,8 +23,8 @@ /** \file \brief ParsedCommand public header */ -#ifndef HH_ParsedCommand_ -#define HH_ParsedCommand_ 1 +#ifndef HH_SENF_Scheduler_Console_ParsedCommand_ +#define HH_SENF_Scheduler_Console_ParsedCommand_ 1 // Custom includes @@ -565,7 +565,9 @@ namespace console { template typename detail::ParsedCommandTraits::Attributor - senf_console_add_node(DirectoryNode & node, std::string const & name, Function fn, int); + senf_console_add_node(DirectoryNode & node, std::string const & name, Function fn, int, + typename boost::enable_if_c< + detail::ParsedCommandTraits::is_callable>::type * = 0); template typename detail::ParsedCommandTraits::Attributor