/*
- * Copyright 2017 Facebook, Inc.
+ * Copyright 2014-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
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();