List模板改名为ArrayList
This commit is contained in:
@@ -10,11 +10,11 @@ namespace hgl
|
||||
{
|
||||
protected:
|
||||
|
||||
List<FileInfo> *fi_list;
|
||||
ArrayList<FileInfo> *fi_list;
|
||||
|
||||
public:
|
||||
|
||||
OnlyFileEnum(List<FileInfo> *lfi)
|
||||
OnlyFileEnum(ArrayList<FileInfo> *lfi)
|
||||
{
|
||||
fi_list=lfi;
|
||||
}
|
||||
@@ -26,7 +26,7 @@ namespace hgl
|
||||
};//class OnlyFileEnum:public EnumFile
|
||||
}//namespace
|
||||
|
||||
int GetFileInfoList(List<FileInfo> &fi_list,const OSString &folder_name,bool proc_folder,bool proc_file,bool sub_folder)
|
||||
int GetFileInfoList(ArrayList<FileInfo> &fi_list,const OSString &folder_name,bool proc_folder,bool proc_file,bool sub_folder)
|
||||
{
|
||||
EnumFileConfig efc(folder_name);
|
||||
|
||||
|
@@ -9,7 +9,7 @@ namespace hgl
|
||||
{
|
||||
namespace logger
|
||||
{
|
||||
RWLockObject<List<Logger *>> log_list; //记录器列表
|
||||
RWLockObject<ArrayList<Logger *>> log_list; //记录器列表
|
||||
|
||||
bool AddLogger(Logger *log)
|
||||
{
|
||||
|
@@ -17,7 +17,7 @@ namespace hgl
|
||||
SC id_str[16];
|
||||
const SC gap_str[4]={SC(' '),SC(':'),SC(' '),0};
|
||||
|
||||
const List<ConstStringView<SC>> &csv_list=css->GetConstStringList();
|
||||
const ArrayList<ConstStringView<SC>> &csv_list=css->GetConstStringList();
|
||||
|
||||
for(auto &csv:csv_list)
|
||||
{
|
||||
|
Reference in New Issue
Block a user