X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2Fdynamic.cpp;h=b06fe85f892bc126dfec0b6650389ca427c7a245;hb=19db503e08e4ea46a8b4d9a272605006b6245f88;hp=08e97472832b4ac4f4cb069e766a9347fa1bca23;hpb=12b5fff0e99fb64df5f751e91bc01d562403401b;p=folly.git diff --git a/folly/dynamic.cpp b/folly/dynamic.cpp index 08e97472..b06fe85f 100644 --- a/folly/dynamic.cpp +++ b/folly/dynamic.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2017 Facebook, Inc. + * Copyright 2011-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. @@ -16,9 +16,9 @@ #include -#include #include -#include +#include +#include #include namespace folly { @@ -310,7 +310,9 @@ char const* dynamic::typeName(Type t) { void dynamic::destroy() noexcept { // This short-circuit speeds up some microbenchmarks. - if (type_ == NULLT) return; + if (type_ == NULLT) { + return; + } #define FB_X(T) detail::Destroy::destroy(getAddress()) FB_DYNAMIC_APPLY(type_, FB_X); @@ -321,4 +323,4 @@ void dynamic::destroy() noexcept { ////////////////////////////////////////////////////////////////////// -} +} // namespace folly