diff options
Diffstat (limited to 'src/libstore/store-api.cc')
-rw-r--r-- | src/libstore/store-api.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc index 0f250a3c7c04..0238e5b0b692 100644 --- a/src/libstore/store-api.cc +++ b/src/libstore/store-api.cc @@ -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()); } |