Drop redundant void parameters from function declarations
[folly.git] / folly / dynamic.cpp
index 3ac1173bac92e0a9091e2f817a3638ad019d4741..842b7fb68a606a196f173cba5a71f793337a40b5 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <folly/Assume.h>
 #include <folly/Format.h>
-#include <folly/hash/Hash.h>
+#include <folly/Hash.h>
 #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.
-  if (type_ == NULLT) return;
+  if (type_ == NULLT) {
+    return;
+  }
 
 #define FB_X(T) detail::Destroy::destroy(getAddress<T>())
   FB_DYNAMIC_APPLY(type_, FB_X);