diff options
Diffstat (limited to 'third_party/nix/src/libutil/lazy.hh')
-rw-r--r-- | third_party/nix/src/libutil/lazy.hh | 4 |
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; } }; |