1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 08:31:16 +02:00

boost::shared_ptr -> std::shared_ptr

This commit is contained in:
Eelco Dolstra 2014-03-30 00:49:23 +01:00
parent 9becaa041f
commit 1c2550a2ae
13 changed files with 38 additions and 1467 deletions

View file

@ -316,15 +316,15 @@ void exportPaths(StoreAPI & store, const Paths & paths,
namespace nix {
boost::shared_ptr<StoreAPI> store;
std::shared_ptr<StoreAPI> store;
boost::shared_ptr<StoreAPI> openStore(bool reserveSpace)
std::shared_ptr<StoreAPI> openStore(bool reserveSpace)
{
if (getEnv("NIX_REMOTE") == "")
return boost::shared_ptr<StoreAPI>(new LocalStore(reserveSpace));
return std::shared_ptr<StoreAPI>(new LocalStore(reserveSpace));
else
return boost::shared_ptr<StoreAPI>(new RemoteStore());
return std::shared_ptr<StoreAPI>(new RemoteStore());
}