diff --git a/src/rpc/handlers/Feature.cpp b/src/rpc/handlers/Feature.cpp index 0bc673ee..b4234998 100644 --- a/src/rpc/handlers/Feature.cpp +++ b/src/rpc/handlers/Feature.cpp @@ -37,7 +37,7 @@ namespace rpc { FeatureHandler::Result -FeatureHandler::process([[maybe_unused]] FeatureHandler::Input input, [[maybe_unused]] Context const& ctx) const +FeatureHandler::process([[maybe_unused]] FeatureHandler::Input input, [[maybe_unused]] Context const& ctx) { // For now this handler only fires when "vetoed" is set in the request. // This always leads to a `notSupported` error as we don't want anyone to be able to diff --git a/src/rpc/handlers/Feature.hpp b/src/rpc/handlers/Feature.hpp index 816fc734..ca3ad50a 100644 --- a/src/rpc/handlers/Feature.hpp +++ b/src/rpc/handlers/Feature.hpp @@ -69,8 +69,8 @@ public: * @param ctx The context of the request * @return The result of the operation */ - Result - process(Input input, Context const& ctx) const; // NOLINT(readability-convert-member-functions-to-static) + static Result + process(Input input, Context const& ctx); // NOLINT(readability-convert-member-functions-to-static) private: /**