diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-05-31T11·31+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-05-31T11·31+0200 |
commit | a9fa5e050aaebe852ea5dd5c2622062db15ba3ac (patch) | |
tree | ae32a1ee0e41a03c71141700e69c5ef8d485744d /src/nix | |
parent | 10f3a2e5f213df4a1d50947066613bf87a5a1008 (diff) |
Shut up some clang warnings
Diffstat (limited to 'src/nix')
-rw-r--r-- | src/nix/command.hh | 2 | ||||
-rw-r--r-- | src/nix/progress-bar.cc | 2 |
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; |