Merge openStore and openStoreAt with default arguments

This commit is contained in:
Shea Levy 2016-09-02 06:35:48 -04:00
parent 87b189c2b3
commit a91954f0c6
6 changed files with 8 additions and 18 deletions

View file

@ -35,7 +35,7 @@ struct CmdCopySigs : StorePathsCommand
// FIXME: factor out commonality with MixVerify.
std::vector<ref<Store>> substituters;
for (auto & s : substituterUris)
substituters.push_back(openStoreAt(s));
substituters.push_back(openStore(s));
ThreadPool pool;