about summary refs log tree commit diff
path: root/third_party/nix/src/libutil/lazy.hh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libutil/lazy.hh')
-rw-r--r--third_party/nix/src/libutil/lazy.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/nix/src/libutil/lazy.hh b/third_party/nix/src/libutil/lazy.hh
index 9807b7540620..b564b481fc38 100644
--- a/third_party/nix/src/libutil/lazy.hh
+++ b/third_party/nix/src/libutil/lazy.hh
@@ -35,7 +35,9 @@ class Lazy {
         ex = std::current_exception();
       }
     });
-    if (ex) std::rethrow_exception(ex);
+    if (ex) {
+      std::rethrow_exception(ex);
+    }
     return value;
   }
 };