mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 02:10:21 +08:00
fix: build error
This commit is contained in:
@@ -82,10 +82,10 @@ bool asst::ResourceLoader::load(const std::filesystem::path& path)
|
||||
#define FutureAppendEnds
|
||||
#else
|
||||
std::vector<std::future<bool>> futures;
|
||||
#define FutureAppendBegins futures.emplace_back(std::async(std::launch::async, [&]() -> bool
|
||||
#define FutureAppendBegins futures.emplace_back(std::async(std::launch::async, [&]() -> bool {
|
||||
#define FutureAppendEnds \
|
||||
return true; \
|
||||
))
|
||||
}))
|
||||
#endif
|
||||
|
||||
FutureAppendBegins
|
||||
|
||||
Reference in New Issue
Block a user