about summary refs log tree commit diff
path: root/perl/lib/Nix/Store.xs
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-04T13·48+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-04T13·48+0100
commitfa7cd5369b7d9f947b0b26ca681e94b81068a3ef (patch)
treec31cd0f58e516929a21000de609958b73b7059c7 /perl/lib/Nix/Store.xs
parentc10c61449f954702ae6d8092120321744acd82ff (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.xs6
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);
 }