Drop redundant void parameters from function declarations
[folly.git] / folly / dynamic.cpp
index 08e97472832b4ac4f4cb069e766a9347fa1bca23..842b7fb68a606a196f173cba5a71f793337a40b5 100644 (file)
@@ -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);