void MacAddress::parse(StringPiece str) {
// Helper function to convert a single hex char into an integer
- auto isSeparatorChar = [](char c) {
- return c == ':' || c == '-';
- };
+ auto isSeparatorChar = [](char c) { return c == ':' || c == '-'; };
uint8_t parsed[SIZE];
auto p = str.begin();