Index: mojo/public/bindings/generators/cpp_templates/struct_implementation |
diff --git a/mojo/public/bindings/generators/cpp_templates/struct_implementation b/mojo/public/bindings/generators/cpp_templates/struct_implementation |
deleted file mode 100644 |
index 92e8fe97e2ae1fd2e0e001d392734c392985cb2e..0000000000000000000000000000000000000000 |
--- a/mojo/public/bindings/generators/cpp_templates/struct_implementation |
+++ /dev/null |
@@ -1,9 +0,0 @@ |
-// static |
-$CLASS* $CLASS::New(mojo::Buffer* buf) { |
- return new (buf->Allocate(sizeof($CLASS))) $CLASS(); |
-} |
- |
-$CLASS::$CLASS() { |
- _header_.num_bytes = sizeof(*this); |
- _header_.num_fields = $NUM_FIELDS; |
-} |