Replace ke::LinkedList with std::list.

This commit is contained in:
David Anderson
2020-05-31 23:19:41 -07:00
parent d5d4d78023
commit 80acff8d7d
7 changed files with 37 additions and 38 deletions
+7 -6
View File
@@ -32,8 +32,14 @@
#ifndef _INCLUDE_SOURCEMOD_CONCMDMANAGER_H_
#define _INCLUDE_SOURCEMOD_CONCMDMANAGER_H_
#include <list>
#include <memory>
#include <am-inlinelist.h>
#include <am-refcounting.h>
#include <am-utility.h>
#include <sm_stringhashmap.h>
#include "sm_globals.h"
#include "sourcemm_api.h"
#include <IForwardSys.h>
@@ -43,11 +49,6 @@
#include <IAdminSystem.h>
#include "concmd_cleaner.h"
#include "GameHooks.h"
#include <sm_stringhashmap.h>
#include <am-utility.h>
#include <am-inlinelist.h>
#include <am-linkedlist.h>
#include <am-refcounting.h>
using namespace SourceHook;
@@ -56,7 +57,7 @@ struct ConCmdInfo;
struct CommandGroup : public ke::Refcounted<CommandGroup>
{
ke::LinkedList<CmdHook *> hooks;
std::list<CmdHook *> hooks;
};
struct AdminCmdInfo