about summary refs log tree commit diff
path: root/src/nix
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/command.hh2
-rw-r--r--src/nix/progress-bar.cc2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/nix/command.hh b/src/nix/command.hh
index 34affc43d96e..a29cdcf7f50f 100644
--- a/src/nix/command.hh
+++ b/src/nix/command.hh
@@ -49,6 +49,8 @@ public:
 
     StorePathsCommand();
 
+    using StoreCommand::run;
+
     virtual void run(ref<Store> store, Paths storePaths) = 0;
 
     void run(ref<Store> store) override;
diff --git a/src/nix/progress-bar.cc b/src/nix/progress-bar.cc
index 659d6572ad93..69811b282804 100644
--- a/src/nix/progress-bar.cc
+++ b/src/nix/progress-bar.cc
@@ -89,7 +89,7 @@ public:
         state->progress[label].expected += value;
     }
 
-    void incProgress(const std::string & label, uint64_t value)
+    void incProgress(const std::string & label, uint64_t value) override
     {
         auto state(state_.lock());
         state->progress[label].progress += value;