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:
parent
c10c61449f
commit
fa7cd5369b
24 changed files with 51 additions and 51 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue