aboutsummaryrefslogtreecommitdiff
path: root/src/yue.cpp
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2026-01-22 15:03:12 +0800
committerLi Jin <dragon-fly@qq.com>2026-01-22 15:03:12 +0800
commitf1454bbbd13a71da2005ff789cde2da0e9eb81f6 (patch)
tree37131187f4218dd3ebec049101c28a161e7ca289 /src/yue.cpp
parent604a8e5e53cdc7391a502fcabf07e8f1cc2a778c (diff)
downloadyuescript-f1454bbbd13a71da2005ff789cde2da0e9eb81f6.tar.gz
yuescript-f1454bbbd13a71da2005ff789cde2da0e9eb81f6.tar.bz2
yuescript-f1454bbbd13a71da2005ff789cde2da0e9eb81f6.zip
Adding tests.HEADmain
Diffstat (limited to 'src/yue.cpp')
-rw-r--r--src/yue.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yue.cpp b/src/yue.cpp
index 26f581e..7e39367 100644
--- a/src/yue.cpp
+++ b/src/yue.cpp
@@ -57,8 +57,8 @@ std::future<R> async(const std::function<R()>& f) {
57#else 57#else
58template<class R> 58template<class R>
59std::future<R> async(const std::function<R()>& f) { 59std::future<R> async(const std::function<R()>& f) {
60 // fallback: ignore stack size 60 // fallback: ignore stack size
61 return std::async(std::launch::async, f); 61 return std::async(std::launch::async, f);
62} 62}
63#endif 63#endif
64 64