json_rpc_request fixes

This commit is contained in:
SChernykh
2026-04-26 19:35:13 +02:00
parent cd1ea288df
commit 4ebae25093
3 changed files with 87 additions and 48 deletions
+1 -1
View File
@@ -361,7 +361,7 @@ struct Callback
template<typename T>
struct Derived : public Base
{
explicit FORCEINLINE Derived(T&& cb) : m_cb(std::move(cb)) {}
explicit FORCEINLINE Derived(T&& cb) : m_cb(std::forward<T>(cb)) {}
R operator()(Args... args) const override { return m_cb(args...); }
private: