diff options
author | John Ericson <git@JohnEricson.me> | 2020-03-30 18:15:55 -0400 |
---|---|---|
committer | John Ericson <git@JohnEricson.me> | 2020-03-30 18:15:55 -0400 |
commit | bbbb7c1bc7a66e1169931cda8bd863b68236726a (patch) | |
tree | bb5e162c61b3a9353525a8894402b132adf88190 /src/libexpr/primops.cc | |
parent | 225e62a56a7cebb030bebffb8d2bd7afe21cc64a (diff) |
Use `auto` with some `FileIngestionMethod` local variables
Diffstat (limited to 'src/libexpr/primops.cc')
-rw-r--r-- | src/libexpr/primops.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 7d45733f4..71a511c41 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -563,7 +563,7 @@ static void prim_derivationStrict(EvalState & state, const Pos & pos, Value * * std::optional<std::string> outputHash; std::string outputHashAlgo; - FileIngestionMethod outputHashRecursive = FileIngestionMethod::Flat; + auto outputHashRecursive = FileIngestionMethod::Flat; StringSet outputs; outputs.insert("out"); |