| Index: mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
|
| diff --git a/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
|
| index 50c7f1a9d2541a011ce7c909ac3bdd87203a335e..7598f962b923c275dd8f753ef798793d7a4ec17e 100644
|
| --- a/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
|
| +++ b/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
|
| @@ -79,9 +79,9 @@ namespace internal {
|
| {%- for struct in structs %}
|
| {%- for constant in struct.constants %}
|
| {%- if constant.kind|is_integral_kind %}
|
| -MOJO_STATIC_CONST_MEMBER_DEFINITION const {{constant.kind|cpp_pod_type}} {{struct.name}}::{{constant.name}};
|
| +const {{constant.kind|cpp_pod_type}} {{struct.name}}::{{constant.name}};
|
| {%- else %}
|
| -MOJO_STATIC_CONST_MEMBER_DEFINITION const {{constant.kind|cpp_pod_type}} {{struct.name}}::{{constant.name}} = {{constant|constant_value}};
|
| +const {{constant.kind|cpp_pod_type}} {{struct.name}}::{{constant.name}} = {{constant|constant_value}};
|
| {%- endif %}
|
| {%- endfor %}
|
| {%- endfor %}
|
|
|