fix: build error

This commit is contained in:
MistEO
2023-04-29 02:06:56 +08:00
parent b16a14a262
commit 6bbf2f0bf9

View File

@@ -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