projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add unit test for timeout=0
[folly.git]
/
folly
/
dynamic.cpp
diff --git
a/folly/dynamic.cpp
b/folly/dynamic.cpp
index 3ac1173bac92e0a9091e2f817a3638ad019d4741..8c25017d3e4d85c7a740710fb185161e4b5963d5 100644
(file)
--- a/
folly/dynamic.cpp
+++ b/
folly/dynamic.cpp
@@
-16,9
+16,9
@@
#include <folly/dynamic.h>
#include <folly/dynamic.h>
-#include <folly/Assume.h>
#include <folly/Format.h>
#include <folly/hash/Hash.h>
#include <folly/Format.h>
#include <folly/hash/Hash.h>
+#include <folly/lang/Assume.h>
#include <folly/portability/BitsFunctexcept.h>
namespace folly {
#include <folly/portability/BitsFunctexcept.h>
namespace folly {
@@
-310,7
+310,9
@@
char const* dynamic::typeName(Type t) {
void dynamic::destroy() noexcept {
// This short-circuit speeds up some microbenchmarks.
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<T>())
FB_DYNAMIC_APPLY(type_, FB_X);
#define FB_X(T) detail::Destroy::destroy(getAddress<T>())
FB_DYNAMIC_APPLY(type_, FB_X);
@@
-321,4
+323,4
@@
void dynamic::destroy() noexcept {
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
-}
+}
// namespace folly