diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-04 14:48:42 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-04 14:48:42 +0100 |
commit | fa7cd5369b7d9f947b0b26ca681e94b81068a3ef (patch) | |
tree | c31cd0f58e516929a21000de609958b73b7059c7 /perl/lib/Nix/Store.xs | |
parent | c10c61449f954702ae6d8092120321744acd82ff (diff) |
StoreAPI -> Store
Calling a class an API is a bit redundant...
Diffstat (limited to 'perl/lib/Nix/Store.xs')
-rw-r--r-- | perl/lib/Nix/Store.xs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl/lib/Nix/Store.xs b/perl/lib/Nix/Store.xs index 76d3cc36a..5a1e8424f 100644 --- a/perl/lib/Nix/Store.xs +++ b/perl/lib/Nix/Store.xs @@ -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); } |