diff options
Diffstat (limited to 'perl')
-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 76d3cc36ac79..5a1e8424f036 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); } |