Skip to content

Commit

Permalink
rpc: remove unnecessary inline
Browse files Browse the repository at this point in the history
constexpr already implies inline, so this patch removes the inline tag.
  • Loading branch information
andrwng committed May 26, 2022
1 parent 77418d2 commit 561271b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/rpcgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class {{service_name}}_service : public rpc::service {
class failure_probes;
{%- for method in methods %}
inline static constexpr uint32_t {{method.name}}_method_id = {{method.id}};
static constexpr uint32_t {{method.name}}_method_id = {{method.id}};
{%- endfor %}
{{service_name}}_service(ss::scheduling_group sc, ss::smp_service_group ssg)
Expand Down

0 comments on commit 561271b

Please sign in to comment.