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:
parent
9becaa041f
commit
1c2550a2ae
13 changed files with 38 additions and 1467 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue