Ensure curly-braces around control-flow
[folly.git] / folly / futures / ManualExecutor.h
index a45de257b0d4bfa2e6afd1cbdb6e9b1001dfd4ba..028a4ce63af03490c1b0d183cdf6ea725c9e6f2e 100644 (file)
@@ -132,8 +132,9 @@ namespace folly {
       bool operator<(ScheduledFunc const& b) const {
         // Earlier-scheduled things must be *higher* priority
         // in the max-based std::priority_queue
-        if (time == b.time)
+        if (time == b.time) {
           return ordinal > b.ordinal;
+        }
         return time > b.time;
       }