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

StoreAPI -> Store

Calling a class an API is a bit redundant...
This commit is contained in:
Eelco Dolstra 2016-02-04 14:48:42 +01:00
parent c10c61449f
commit fa7cd5369b
24 changed files with 51 additions and 51 deletions

View file

@ -19,9 +19,9 @@
using namespace nix;
static ref<StoreAPI> store()
static ref<Store> store()
{
static std::shared_ptr<StoreAPI> _store;
static std::shared_ptr<Store> _store;
if (!_store) {
try {
settings.processEnvironment();
@ -33,7 +33,7 @@ static ref<StoreAPI> store()
croak("%s", e.what());
}
}
return ref<StoreAPI>(_store);
return ref<Store>(_store);
}