diff options
Diffstat (limited to 'third_party/nix/src/nix/installables.cc')
-rw-r--r-- | third_party/nix/src/nix/installables.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/nix/src/nix/installables.cc b/third_party/nix/src/nix/installables.cc index 8a7de8655bef..2d896e3bb9bb 100644 --- a/third_party/nix/src/nix/installables.cc +++ b/third_party/nix/src/nix/installables.cc @@ -100,7 +100,7 @@ Buildable Installable::toBuildable() { struct InstallableStorePath : Installable { Path storePath; - InstallableStorePath(const Path& storePath) : storePath(storePath) {} + explicit InstallableStorePath(const Path& storePath) : storePath(storePath) {} std::string what() override { return storePath; } @@ -112,7 +112,7 @@ struct InstallableStorePath : Installable { struct InstallableValue : Installable { SourceExprCommand& cmd; - InstallableValue(SourceExprCommand& cmd) : cmd(cmd) {} + explicit InstallableValue(SourceExprCommand& cmd) : cmd(cmd) {} Buildables toBuildables() override { auto state = cmd.getEvalState(); |