Commit 61aa5180 authored by reillyg's avatar reillyg Committed by Commit bot

Remove iterator typedefs for USB descriptor types.

C++11 range-based for loops make it a lot easier to iterate over an STL
container without incredibly long type names. The last users of these
typedefs have been updated and so they are no longer necessary.

BUG=

Review URL: https://codereview.chromium.org/869063004

Cr-Commit-Position: refs/heads/master@{#312949}
parent d86fc945
...@@ -39,8 +39,6 @@ struct UsbEndpointDescriptor { ...@@ -39,8 +39,6 @@ struct UsbEndpointDescriptor {
UsbEndpointDescriptor(); UsbEndpointDescriptor();
~UsbEndpointDescriptor(); ~UsbEndpointDescriptor();
typedef std::vector<UsbEndpointDescriptor>::const_iterator Iterator;
uint8_t address; uint8_t address;
UsbEndpointDirection direction; UsbEndpointDirection direction;
uint16_t maximum_packet_size; uint16_t maximum_packet_size;
...@@ -55,8 +53,6 @@ struct UsbInterfaceDescriptor { ...@@ -55,8 +53,6 @@ struct UsbInterfaceDescriptor {
UsbInterfaceDescriptor(); UsbInterfaceDescriptor();
~UsbInterfaceDescriptor(); ~UsbInterfaceDescriptor();
typedef std::vector<UsbInterfaceDescriptor>::const_iterator Iterator;
uint8_t interface_number; uint8_t interface_number;
uint8_t alternate_setting; uint8_t alternate_setting;
uint8_t interface_class; uint8_t interface_class;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment