X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2FMacAddress.h;h=884a2db81a086f58496e43e65a65e4002b385f9b;hb=f57db69787a7b3f7450c157e40e137d793c0b9fa;hp=739bb226461c4f5114c745908ecd0639b913c3f9;hpb=ed8c80a0e0988e4ce687f51ca832a00e4a6b7930;p=folly.git diff --git a/folly/MacAddress.h b/folly/MacAddress.h index 739bb226..884a2db8 100644 --- a/folly/MacAddress.h +++ b/folly/MacAddress.h @@ -1,5 +1,5 @@ /* - * 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. @@ -18,8 +18,8 @@ #include -#include #include +#include namespace folly { @@ -222,11 +222,12 @@ class MacAddress { /* Define toAppend() so to will work */ template -typename std::enable_if::value>::type -toAppend(MacAddress address, Tgt* result) { +typename std::enable_if::value>::type toAppend( + MacAddress address, + Tgt* result) { toAppend(address.toString(), result); } std::ostream& operator<<(std::ostream& os, MacAddress address); -} // folly +} // namespace folly