We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17b3302 commit 453e5e4Copy full SHA for 453e5e4
src/wrapper.h
@@ -10,16 +10,15 @@ using namespace RpcUtils::detail;
10
#include <stdexcept>
11
#endif
12
13
+class IFunctionWrapper {
14
+public:
15
+ virtual ~IFunctionWrapper() {}
16
+ virtual bool operator()(MsgPack::Unpacker& unpacker, MsgPack::Packer& packer) = 0;
17
+};
18
19
template<typename F>
20
class RpcFunctionWrapper;
21
-class IFunctionWrapper {
- public:
- virtual ~IFunctionWrapper() {}
- virtual bool operator()(MsgPack::Unpacker& unpacker, MsgPack::Packer& packer) = 0;
- };
22
-
23
template<typename R, typename... Args>
24
class RpcFunctionWrapper<std::function<R(Args...)>>: public IFunctionWrapper {
25
public:
0 commit comments