diff options
Diffstat (limited to 'src/RpcMethodFactory.cc')
| -rw-r--r-- | src/RpcMethodFactory.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RpcMethodFactory.cc b/src/RpcMethodFactory.cc index 3e1d5353..845a7856 100644 --- a/src/RpcMethodFactory.cc +++ b/src/RpcMethodFactory.cc @@ -129,7 +129,7 @@ createMethod(const std::string& methodName) } else if(methodName == SystemMulticallRpcMethod::getMethodName()) { return std::shared_ptr<RpcMethod>(new SystemMulticallRpcMethod()); } else { - return std::shared_ptr<RpcMethod>(); + return nullptr; } } } // namespace |
