diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-03-29T23·49+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-03-29T23·49+0100 |
commit | 1c2550a2ae826c422cf6d34f1c5c3e687474929d (patch) | |
tree | 7b5ea30955dce2ff3fd44ad310cfc113f02c9f52 /src/libstore/store-api.cc | |
parent | 9becaa041f4a597dc085e58ebe8f66a4f95d018e (diff) |
boost::shared_ptr -> std::shared_ptr
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()); } |