diff options
| author | Li Jin <dragon-fly@qq.com> | 2025-04-09 17:40:13 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2025-04-09 17:40:13 +0800 |
| commit | 9750786a5c03b5ce3ea22b240d1b3cd34990856b (patch) | |
| tree | e495e43245e1bacc86d33142af202613a82a40c1 /src/3rdParty/efsw/FileInfo.hpp | |
| parent | 571fb952b99e580a0381f539885f8f175e2ec3b0 (diff) | |
| download | yuescript-9750786a5c03b5ce3ea22b240d1b3cd34990856b.tar.gz yuescript-9750786a5c03b5ce3ea22b240d1b3cd34990856b.tar.bz2 yuescript-9750786a5c03b5ce3ea22b240d1b3cd34990856b.zip | |
Updated efsw. Fixed issue #204.
Diffstat (limited to 'src/3rdParty/efsw/FileInfo.hpp')
| -rw-r--r--[-rwxr-xr-x] | src/3rdParty/efsw/FileInfo.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/3rdParty/efsw/FileInfo.hpp b/src/3rdParty/efsw/FileInfo.hpp index f1bcf4b..1b55c35 100755..100644 --- a/src/3rdParty/efsw/FileInfo.hpp +++ b/src/3rdParty/efsw/FileInfo.hpp | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | #define EFSW_FILEINFO_HPP | 2 | #define EFSW_FILEINFO_HPP |
| 3 | 3 | ||
| 4 | #include <efsw/base.hpp> | 4 | #include <efsw/base.hpp> |
| 5 | #include <list> | 5 | #include <vector> |
| 6 | #include <map> | 6 | #include <map> |
| 7 | #include <string> | 7 | #include <string> |
| 8 | 8 | ||
| @@ -18,11 +18,11 @@ class FileInfo { | |||
| 18 | 18 | ||
| 19 | FileInfo(); | 19 | FileInfo(); |
| 20 | 20 | ||
| 21 | explicit FileInfo( const std::string& filepath ); | 21 | FileInfo( const std::string& filepath ); |
| 22 | 22 | ||
| 23 | FileInfo( const std::string& filepath, bool linkInfo ); | 23 | FileInfo( const std::string& filepath, bool linkInfo ); |
| 24 | 24 | ||
| 25 | FileInfo( const FileInfo& ) = default; | 25 | FileInfo(const FileInfo&) = default; |
| 26 | 26 | ||
| 27 | bool operator==( const FileInfo& Other ) const; | 27 | bool operator==( const FileInfo& Other ) const; |
| 28 | 28 | ||
| @@ -58,8 +58,8 @@ class FileInfo { | |||
| 58 | }; | 58 | }; |
| 59 | 59 | ||
| 60 | typedef std::map<std::string, FileInfo> FileInfoMap; | 60 | typedef std::map<std::string, FileInfo> FileInfoMap; |
| 61 | typedef std::list<FileInfo> FileInfoList; | 61 | typedef std::vector<FileInfo> FileInfoList; |
| 62 | typedef std::list<std::pair<std::string, FileInfo>> MovedList; | 62 | typedef std::vector<std::pair<std::string, FileInfo>> MovedList; |
| 63 | 63 | ||
| 64 | } // namespace efsw | 64 | } // namespace efsw |
| 65 | 65 | ||
