Codechange: Let the compile generate the master command table out of templated command traits.
This is using a non-intrusive type-traits like templated system, which allows compile-time validation that the command table and the command enum match up.
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "network/network.h"
|
||||
#include "network/network_base.h"
|
||||
#include "network/network_func.h"
|
||||
#include "goal_cmd.h"
|
||||
|
||||
#include "safeguards.h"
|
||||
|
||||
|
Reference in New Issue
Block a user