Upgrade: compile fixes for GCC-12
This commit is contained in:
parent
4131602593
commit
67fb61298a
3 changed files with 3 additions and 1 deletions
|
|
@ -76,6 +76,7 @@
|
|||
#include "lib/time/timevalue.hpp"
|
||||
#include "lib/nocopy.hpp"
|
||||
|
||||
#include <optional>
|
||||
#include <array>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ namespace control {
|
|||
* and immediately be assigned by a lambda, whose body is what follows the macro invocation
|
||||
*/
|
||||
#define COMMAND_DEFINITION(_NAME_) \
|
||||
CommandSetup _NAME_ = CommandSetup{STRINGIFY(_NAME_)} = [&](CommandDef& def)
|
||||
CommandSetup _NAME_ = CommandSetup{STRINGIFY(_NAME_)} = [](CommandDef& def)
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@
|
|||
#include "lib/nocopy.hpp"
|
||||
#include "lib/util.hpp"
|
||||
|
||||
#include <optional>
|
||||
#include <utility>
|
||||
#include <string>
|
||||
#include <list>
|
||||
|
|
|
|||
Loading…
Reference in a new issue