File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 34
34
35
35
- uses : actions/setup-node@v4
36
36
with :
37
- node-version : 20 .x
37
+ node-version : 22 .x
38
38
39
39
- name : Install node dependencies
40
40
run : |
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.27)
2
2
3
3
project (fcitx5-webview)
4
4
5
- set (CMAKE_CXX_STANDARD 17 )
5
+ set (CMAKE_CXX_STANDARD 20 )
6
6
7
7
set (CMAKE_EXPORT_COMPILE_COMMANDS ON )
8
8
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ class WebviewCandidateWindow : public CandidateWindow {
134
134
template <typename F> inline void bind (const std::string &name, F f) {
135
135
using Ret = typename function_traits<F>::return_type;
136
136
using ArgsTp = typename function_traits<F>::args_tuple;
137
- auto handler = [=](std::string args_json) -> std::string {
137
+ auto handler = [=, this ](std::string args_json) -> std::string {
138
138
auto j = nlohmann::json::parse (args_json);
139
139
ArgsTp args;
140
140
if (std::tuple_size<ArgsTp>() > j.size ()) {
You can’t perform that action at this time.
0 commit comments