logging: rename the `DEBUG` log level to `DBG`
[folly.git] / folly / Lazy.h
index 963dd479a8889c7e01028cc18ea09c7a4e133a23..ff115f3f3d3af233e35bada0678546385e399f87 100644 (file)
@@ -107,16 +107,18 @@ struct Lazy {
   }
 
   result_type& operator()() {
-    if (!value_) value_ = func_();
+    if (!value_) {
+      value_ = func_();
+    }
     return *value_;
   }
 
-private:
+ private:
   Optional<result_type> value_;
   Func func_;
 };
 
-}
+} // namespace detail
 
 //////////////////////////////////////////////////////////////////////
 
@@ -130,4 +132,4 @@ lazy(Func&& fun) {
 
 //////////////////////////////////////////////////////////////////////
 
-}
+} // namespace folly