diff options
Diffstat (limited to 'mojo/public/cpp/bindings/tests/struct_with_traits_impl.cc')
-rw-r--r-- | mojo/public/cpp/bindings/tests/struct_with_traits_impl.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/mojo/public/cpp/bindings/tests/struct_with_traits_impl.cc b/mojo/public/cpp/bindings/tests/struct_with_traits_impl.cc index ee08ecf..7e59d3b 100644 --- a/mojo/public/cpp/bindings/tests/struct_with_traits_impl.cc +++ b/mojo/public/cpp/bindings/tests/struct_with_traits_impl.cc @@ -4,8 +4,6 @@ #include "mojo/public/cpp/bindings/tests/struct_with_traits_impl.h" -#include "mojo/public/interfaces/bindings/tests/struct_with_traits.mojom.h" - namespace mojo { namespace test { @@ -14,16 +12,4 @@ StructWithTraitsImpl::StructWithTraitsImpl() {} StructWithTraitsImpl::~StructWithTraitsImpl() {} } // namespace test - -// static -bool StructTraits<test::StructWithTraits, test::StructWithTraitsImpl>::Read( - test::StructWithTraits_Reader r, - test::StructWithTraitsImpl* out) { - out->set_bool(r.f_bool()); - out->set_uint32(r.f_uint32()); - out->set_uint64(r.f_uint64()); - out->set_string(r.f_string().as_string()); - return true; -} - } // namespace mojo |