Index: tools/json_schema_compiler/h_generator.py |
diff --git a/tools/json_schema_compiler/h_generator.py b/tools/json_schema_compiler/h_generator.py |
index a7cac43a2b3f08e7fffc3910908b5693af2f4bd4..fbb79e3f817b389340c1397fbf078478657a8653 100644 |
--- a/tools/json_schema_compiler/h_generator.py |
+++ b/tools/json_schema_compiler/h_generator.py |
@@ -214,8 +214,6 @@ class _Generator(object): |
# static. On the other hand, those declared inline (e.g. in an object) do. |
maybe_static = '' if is_toplevel else 'static ' |
(c.Append() |
- .Append('%sstd::string %sToString(%s as_enum);' % |
- (maybe_static, classname, classname)) |
.Append('%sstd::string ToString(%s as_enum);' % |
(maybe_static, classname)) |
.Append('%s%s Parse%s(const std::string& as_string);' % |