[*] Clang 15 build regression: AuList<T> before T definition
This commit is contained in:
parent
a4d317a48d
commit
30fc75cbab
@ -11,7 +11,14 @@
|
||||
namespace Aurora::Console::Commands
|
||||
{
|
||||
struct Command;
|
||||
struct CommandDispatch;
|
||||
|
||||
struct CommandDispatch
|
||||
{
|
||||
Parse::ParsedObject arguments;
|
||||
AuSPtr<ICommandSubscriber> callback;
|
||||
|
||||
CommandDispatch(const Parse::ParsedObject &arguments, const AuSPtr<ICommandSubscriber> &callback) : arguments(arguments), callback(callback) {}
|
||||
};
|
||||
|
||||
static AuHashMap<AuString, Command> gCommands;
|
||||
static AuList<Hooks::LineHook_cb> gLineCallbacks;
|
||||
@ -30,14 +37,6 @@ namespace Aurora::Console::Commands
|
||||
Command(AuString tag, Parse::ParseObject commandStructure, AuSPtr<ICommandSubscriber> &&callback) : tag(tag), commandStructure(commandStructure), callback(AuMove(callback)) {}
|
||||
};
|
||||
|
||||
struct CommandDispatch
|
||||
{
|
||||
Parse::ParsedObject arguments;
|
||||
AuSPtr<ICommandSubscriber> callback;
|
||||
|
||||
CommandDispatch(const Parse::ParsedObject &arguments, const AuSPtr<ICommandSubscriber> &callback) : arguments(arguments), callback(callback) {}
|
||||
};
|
||||
|
||||
enum class EDispatchType
|
||||
{
|
||||
eNow,
|
||||
|
Loading…
Reference in New Issue
Block a user