Skip to content

Commit 6b1d9b2

Browse files
committed
another attempt to build.
1 parent 7ce0a3b commit 6b1d9b2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: .github/workflows/stlab.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
shell: bash
108108
run: |
109109
mkdir ../build
110-
cmake -S. -B../build -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=23
110+
cmake -S. -B../build -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=20
111111
112112
- name: Configure // Linux Emscripten
113113
if: ${{ startsWith(matrix.config.compiler, 'emscripten') }}
@@ -121,7 +121,7 @@ jobs:
121121
if: ${{ startsWith(matrix.config.os, 'windows') }}
122122
shell: cmd
123123
run: |
124-
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
124+
call vcvarsall.bat x64
125125
mkdir ..\build
126126
cmake -S. -B../build -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=20 -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
127127
@@ -135,7 +135,7 @@ jobs:
135135
if: ${{ startsWith(matrix.config.os, 'windows') }}
136136
shell: cmd
137137
run: |
138-
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
138+
call vcvarsall.bat x64
139139
cmake --build ../build/
140140
141141
- name: Test

Diff for: stlab/concurrency/channel.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1523,7 +1523,7 @@ class STLAB_NODISCARD() receiver {
15231523

15241524
if (_ready) throw channel_error(channel_error_codes::process_already_running);
15251525

1526-
auto executor = std::move(ap._annotations._executor.value_or(_p->executor()));
1526+
auto executor = ap._annotations._executor.value_or(_p->executor());
15271527
auto p = std::make_shared<detail::shared_process<
15281528
detail::default_queue_strategy<T>, F, detail::yield_type<unwrap_reference_t<F>, T>, T>>(
15291529
executor, std::move(ap._f), _p);

0 commit comments

Comments
 (0)