From 6c5e99ba8f272ca76665be8459d689e5b2d773c5 Mon Sep 17 00:00:00 2001 From: Jamie Reece Wilson Date: Sat, 16 Sep 2023 21:12:50 +0100 Subject: [PATCH] [-] ...an api that shouldn't exist anymore --- Include/Aurora/Console/Commands/Commands.hpp | 7 ------- Source/Console/Commands/Commands.cpp | 5 ----- 2 files changed, 12 deletions(-) diff --git a/Include/Aurora/Console/Commands/Commands.hpp b/Include/Aurora/Console/Commands/Commands.hpp index fdf9c14f..9bffa55e 100644 --- a/Include/Aurora/Console/Commands/Commands.hpp +++ b/Include/Aurora/Console/Commands/Commands.hpp @@ -12,7 +12,6 @@ namespace Aurora::Async { - struct WorkerId_t; struct WorkerPId_t; } @@ -32,12 +31,6 @@ namespace Aurora::Console::Commands */ AUKN_SYM bool DispatchCommandThisThread(const AuString &string); - /** - * Parses `string` on the current thread and then schedules the ICommandSubscriber callback on the specified thread - */ - AUKN_SYM bool DispatchCommandToAsyncRunner(const AuString &string, Async::WorkerId_t id); - - /** * Parses `string` on the current thread and then schedules the ICommandSubscriber callback on the specified thread */ diff --git a/Source/Console/Commands/Commands.cpp b/Source/Console/Commands/Commands.cpp index 633ca722..0cee2f31 100644 --- a/Source/Console/Commands/Commands.cpp +++ b/Source/Console/Commands/Commands.cpp @@ -136,11 +136,6 @@ namespace Aurora::Console::Commands return Dispatch(string, EDispatchType::eNow, {}); } - AUKN_SYM bool DispatchCommandToAsyncRunner(const AuString &string, Async::WorkerId_t id) - { - return Dispatch(string, EDispatchType::eAsync, AuAsync::WorkerPId_t(AuUnsafeRaiiToShared(AuAsync::GetAsyncApp()), id)); - } - AUKN_SYM bool DispatchCommandToAsyncRunner(const AuString &string, Async::WorkerPId_t id) { return Dispatch(string, EDispatchType::eAsync, id);