X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2FMacAddress.h;h=ef7c3ac1dca7733d21ab18ca499fb8b0a3a0845d;hb=44dcd737f7e77320d8d1380e483f93a82dc9a970;hp=309a427b02cb392017800e8654eb97849e8f575d;hpb=c8f4d603e448cdd2749f2850ef70952932962fa1;p=folly.git diff --git a/folly/MacAddress.h b/folly/MacAddress.h index 309a427b..ef7c3ac1 100644 --- a/folly/MacAddress.h +++ b/folly/MacAddress.h @@ -1,5 +1,5 @@ /* - * Copyright 2016 Facebook, Inc. + * Copyright 2017 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -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