C-style function pointers are evil, however
This commit is contained in:
parent
ddce21f9d0
commit
c376a27082
1 changed files with 1 additions and 1 deletions
|
@ -78,8 +78,8 @@ public:
|
|||
|
||||
const std::set<std::string> &report_list();
|
||||
|
||||
using generator_function = std::function<config(reports::context&)>;
|
||||
|
||||
typedef config (*generator_function)(reports::context & );
|
||||
typedef std::map<std::string, std::shared_ptr<reports::generator> > dynamic_report_generators;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Reference in a new issue