CAiFuncMap: Remove unused static std::vector

This isn't used, so we can remove it and get rid of a static
constructor.
This commit is contained in:
Lioncash 2019-09-08 18:03:54 -04:00
parent 20a0585cc5
commit c9271809a7
1 changed files with 0 additions and 2 deletions

View File

@ -2,7 +2,6 @@
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>
#include <vector>
namespace urde { namespace urde {
class CAi; class CAi;
@ -14,7 +13,6 @@ using CAiStateFunc = void (CAi::*)(CStateManager&, EStateMsg, float);
using CAiTriggerFunc = bool (CAi::*)(CStateManager&, float); using CAiTriggerFunc = bool (CAi::*)(CStateManager&, float);
class CAiFuncMap { class CAiFuncMap {
static const std::vector<std::string> gkStateNames;
std::unordered_map<std::string, CAiStateFunc> x0_stateFuncs; std::unordered_map<std::string, CAiStateFunc> x0_stateFuncs;
std::unordered_map<std::string, CAiTriggerFunc> x10_triggerFuncs; std::unordered_map<std::string, CAiTriggerFunc> x10_triggerFuncs;