diff options
| author | Li Jin <dragon-fly@qq.com> | 2026-01-22 15:03:12 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2026-01-22 15:03:12 +0800 |
| commit | f1454bbbd13a71da2005ff789cde2da0e9eb81f6 (patch) | |
| tree | 37131187f4218dd3ebec049101c28a161e7ca289 /src/yue.cpp | |
| parent | 604a8e5e53cdc7391a502fcabf07e8f1cc2a778c (diff) | |
| download | yuescript-f1454bbbd13a71da2005ff789cde2da0e9eb81f6.tar.gz yuescript-f1454bbbd13a71da2005ff789cde2da0e9eb81f6.tar.bz2 yuescript-f1454bbbd13a71da2005ff789cde2da0e9eb81f6.zip | |
Diffstat (limited to 'src/yue.cpp')
| -rw-r--r-- | src/yue.cpp | 4 |
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 |
| 58 | template<class R> | 58 | template<class R> |
| 59 | std::future<R> async(const std::function<R()>& f) { | 59 | std::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 | ||
