| Index: mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
|
| diff --git a/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
|
| index 199e6acdb6f090a4b48b3dc7efe0933eecc8b578..0b5f8a8a7578f16ec00520834f807a4eebe62954 100644
|
| --- a/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
|
| +++ b/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
|
| @@ -31,16 +31,16 @@ p_{{param.name}}
|
|
|
| {#--- Begin #}
|
| {%- if interface.service_name %}
|
| -MOJO_STATIC_CONST_MEMBER_DEFINITION const char {{class_name}}::Name_[] = "{{interface.service_name}}";
|
| +const char {{class_name}}::Name_[] = "{{interface.service_name}}";
|
| {%- endif %}
|
| -MOJO_STATIC_CONST_MEMBER_DEFINITION const uint32_t {{class_name}}::Version_;
|
| +const uint32_t {{class_name}}::Version_;
|
|
|
| {#--- Constants #}
|
| {%- for constant in interface.constants %}
|
| {%- if constant.kind|is_integral_kind %}
|
| -MOJO_STATIC_CONST_MEMBER_DEFINITION const {{constant.kind|cpp_pod_type}} {{interface.name}}::{{constant.name}};
|
| +const {{constant.kind|cpp_pod_type}} {{interface.name}}::{{constant.name}};
|
| {%- else %}
|
| -MOJO_STATIC_CONST_MEMBER_DEFINITION const {{constant.kind|cpp_pod_type}} {{interface.name}}::{{constant.name}} = {{constant|constant_value}};
|
| +const {{constant.kind|cpp_pod_type}} {{interface.name}}::{{constant.name}} = {{constant|constant_value}};
|
| {%- endif %}
|
| {%- endfor %}
|
|
|
|
|