diff options
Diffstat (limited to 'third_party/nix/src/libutil/lazy.hh')
-rw-r--r-- | third_party/nix/src/libutil/lazy.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libutil/lazy.hh b/third_party/nix/src/libutil/lazy.hh index b564b481fc38..5c6ff5d8df6a 100644 --- a/third_party/nix/src/libutil/lazy.hh +++ b/third_party/nix/src/libutil/lazy.hh @@ -25,7 +25,7 @@ class Lazy { std::exception_ptr ex; public: - Lazy(Init init) : init(init) {} + explicit Lazy(Init init) : init(init) {} const T& operator()() { std::call_once(done, [&]() { |