Skip to content

Commit 078c7ed

Browse files
committed
fix: fix compile
1 parent 13ce420 commit 078c7ed

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/legacy/api/RemoteCallAPI.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include <sstream>
2020
#include <string>
2121

22-
2322
#define DEFAULT_REMOTE_CALL_NAME_SPACE "LLSEGlobal"
2423
#define logger lse::getSelfPluginInstance().getLogger()
2524

@@ -241,7 +240,7 @@ bool LLSERemoveAllExportedFuncs(ScriptEngine* engine) {
241240
for (auto& [key, data] : ENGINE_GET_DATA(engine)->exportFuncs) {
242241
funcs.emplace_back(data.nameSpace, data.funcName);
243242
}
244-
int count = RemoteCall::removeFuncs(std::move(funcs));
243+
int count = RemoteCall::removeFuncs(funcs);
245244
ENGINE_GET_DATA(engine)->exportFuncs.clear();
246245
return count;
247246
}

xmake.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ add_requires(
1515
"simpleini v4.19",
1616
"sqlite3 3.43.0+200",
1717
"toml++ v3.4.0",
18-
"legacyremotecall 0.1.0"
18+
"legacyremotecall 0.1.1"
1919
)
2020
add_requires("cpp-httplib v0.14.0", {configs={shared=false, ssl=true, zlib=true}})
2121
add_requires("scriptx", {configs={backend=get_config("backend")}})

0 commit comments

Comments
 (0)