fix compile

This commit is contained in:
qicosmos
2025-09-02 16:52:20 +08:00
parent 0cfc6a9315
commit 26a8e227b4
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -218,13 +218,13 @@ void test_echo() {
{
// safe call, same with `client.call<std::string>("echo", "test")`
auto result = client.call<echo>("test");
auto result = client.call_s<echo>("test");
std::cout << result << std::endl;
}
{
// safe call member function
auto result = client.call<&dummy::add>(1, 2);
auto result = client.call_s<&dummy::add>(1, 2);
std::cout << result << std::endl;
}