X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Scheduler%2FConsole%2FVariables.hh;h=d8a9468019d83344b0bf1d455a4d6bc85766d342;hb=88a1eaae226bb958a6e6a7c42f24f7f9818f91be;hp=74db97c78bc133a7c28bd1e0231baf2a3344c5b2;hpb=c77d350c7bb263316c35f535542cdeaec3d2aab6;p=senf.git diff --git a/Scheduler/Console/Variables.hh b/Scheduler/Console/Variables.hh index 74db97c..d8a9468 100644 --- a/Scheduler/Console/Variables.hh +++ b/Scheduler/Console/Variables.hh @@ -47,7 +47,8 @@ namespace console { template VariableAttributor senf_console_add_node( DirectoryNode & node, std::string const & name, Variable & var, int, - typename boost::disable_if< boost::is_convertible >::type * = 0); + typename boost::disable_if< boost::is_convertible >::type * = 0, + typename boost::disable_if_c::is_callable>::type * = 0); template typename detail::VariableNodeCreator::result_type @@ -57,7 +58,13 @@ namespace console { template VariableAttributor senf_console_add_node( DirectoryNode & node, Owner & owner, std::string const & name, Variable & var, int, - typename boost::disable_if< boost::is_convertible >::type * = 0); + typename boost::disable_if< boost::is_convertible >::type * = 0, + typename boost::disable_if_c::is_callable>::type * = 0); + + template + typename detail::VariableNodeCreator::result_type + senf_console_add_node(DirectoryNode & node, Owner & owner, std::string const & name, + boost::reference_wrapper var, int); #endif