diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-03-30 00:49:23 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-03-30 00:49:23 +0100 |
commit | 1c2550a2ae826c422cf6d34f1c5c3e687474929d (patch) | |
tree | 7b5ea30955dce2ff3fd44ad310cfc113f02c9f52 /src/libstore/store-api.hh | |
parent | 9becaa041f4a597dc085e58ebe8f66a4f95d018e (diff) |
boost::shared_ptr -> std::shared_ptr
Diffstat (limited to 'src/libstore/store-api.hh')
-rw-r--r-- | src/libstore/store-api.hh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh index 047ccf4aa..b635fee2c 100644 --- a/src/libstore/store-api.hh +++ b/src/libstore/store-api.hh @@ -5,8 +5,7 @@ #include <string> #include <map> - -#include <boost/shared_ptr.hpp> +#include <memory> namespace nix { @@ -337,12 +336,12 @@ Paths topoSortPaths(StoreAPI & store, const PathSet & paths); /* For now, there is a single global store API object, but we'll purify that in the future. */ -extern boost::shared_ptr<StoreAPI> store; +extern std::shared_ptr<StoreAPI> store; /* Factory method: open the Nix database, either through the local or remote implementation. */ -boost::shared_ptr<StoreAPI> openStore(bool reserveSpace = true); +std::shared_ptr<StoreAPI> openStore(bool reserveSpace = true); /* Display a set of paths in human-readable form (i.e., between quotes |