diff options
author | Guillaume Maudoux <layus.on@gmail.com> | 2019-03-09T23·37+0100 |
---|---|---|
committer | Guillaume Maudoux <layus.on@gmail.com> | 2019-03-09T23·56+0100 |
commit | 38ee16ae9c277b0512559282c950c48c71e27697 (patch) | |
tree | 59e9201c82d510a111a7a181158905e0cb1e742a /src/libstore/local-store.hh | |
parent | 9d7221183a6825d798267288ebe7d3e2adcd8cde (diff) |
Unify internal findRootsXxx() api
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r-- | src/libstore/local-store.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh index 730d4c917d34..39a34597e2b4 100644 --- a/src/libstore/local-store.hh +++ b/src/libstore/local-store.hh @@ -180,7 +180,7 @@ private: typedef std::shared_ptr<AutoCloseFD> FDPtr; typedef list<FDPtr> FDs; - std::set<std::pair<pid_t, Path>> readTempRoots(FDs & fds); + void findTempRoots(FDs & fds, Roots & roots); public: @@ -267,7 +267,7 @@ private: void findRoots(const Path & path, unsigned char type, Roots & roots); - Roots findRootsNoTemp(); + void findRootsNoTemp(Roots & roots); void findRuntimeRoots(Roots & roots); |