aboutsummaryrefslogtreecommitdiff
path: root/src/clients
diff options
context:
space:
mode:
authorAvatar Marvin Schmidt <marv@exherbo.org> 2019-02-21 18:14:13 +0100
committerAvatar Heiko Becker <heirecka@exherbo.org> 2020-10-16 17:59:26 +0000
commit6e995e8d5f0e763b6dd6adef7b014eaf54121334 (patch)
tree9d5dd7bc7ce267d4449cfd08d850ec33caf8be67 /src/clients
parent3e45be57eef80ab27eba09e0249c70c2ee931573 (diff)
downloadpaludis-6e995e8d5f0e763b6dd6adef7b014eaf54121334.tar.gz
paludis-6e995e8d5f0e763b6dd6adef7b014eaf54121334.tar.xz
modernize: Mark overriding functions as such
Done using clang-tidy's `modernize-use-override` check
Diffstat (limited to 'src/clients')
-rw-r--r--src/clients/cave/cmd_config.hh6
-rw-r--r--src/clients/cave/cmd_contents.hh6
-rw-r--r--src/clients/cave/cmd_digest.hh6
-rw-r--r--src/clients/cave/cmd_display_resolution.hh6
-rw-r--r--src/clients/cave/cmd_dump_cave_formats_conf.hh6
-rw-r--r--src/clients/cave/cmd_executables.hh6
-rw-r--r--src/clients/cave/cmd_execute_resolution.hh6
-rw-r--r--src/clients/cave/cmd_find_candidates.hh6
-rw-r--r--src/clients/cave/cmd_fix_cache.hh6
-rw-r--r--src/clients/cave/cmd_fix_linkage.hh6
-rw-r--r--src/clients/cave/cmd_generate_metadata.hh6
-rw-r--r--src/clients/cave/cmd_graph_jobs.hh6
-rw-r--r--src/clients/cave/cmd_has_version.hh6
-rw-r--r--src/clients/cave/cmd_help.hh6
-rw-r--r--src/clients/cave/cmd_import.hh6
-rw-r--r--src/clients/cave/cmd_info.hh6
-rw-r--r--src/clients/cave/cmd_manage_search_index.hh6
-rw-r--r--src/clients/cave/cmd_match.hh6
-rw-r--r--src/clients/cave/cmd_mirror.hh6
-rw-r--r--src/clients/cave/cmd_owner.hh6
-rw-r--r--src/clients/cave/cmd_perform.hh6
-rw-r--r--src/clients/cave/cmd_print_best_version.hh6
-rw-r--r--src/clients/cave/cmd_print_categories.hh6
-rw-r--r--src/clients/cave/cmd_print_checksum.hh6
-rw-r--r--src/clients/cave/cmd_print_checksum_algorithms.hh6
-rw-r--r--src/clients/cave/cmd_print_commands.hh6
-rw-r--r--src/clients/cave/cmd_print_dependent_ids.hh6
-rw-r--r--src/clients/cave/cmd_print_environment_metadata.hh6
-rw-r--r--src/clients/cave/cmd_print_id_actions.hh6
-rw-r--r--src/clients/cave/cmd_print_id_contents.hh6
-rw-r--r--src/clients/cave/cmd_print_id_environment_variable.hh6
-rw-r--r--src/clients/cave/cmd_print_id_executables.hh6
-rw-r--r--src/clients/cave/cmd_print_id_masks.hh6
-rw-r--r--src/clients/cave/cmd_print_id_metadata.hh6
-rw-r--r--src/clients/cave/cmd_print_id_size.hh6
-rw-r--r--src/clients/cave/cmd_print_ids.hh6
-rw-r--r--src/clients/cave/cmd_print_owners.hh6
-rw-r--r--src/clients/cave/cmd_print_packages.hh6
-rw-r--r--src/clients/cave/cmd_print_repositories.hh6
-rw-r--r--src/clients/cave/cmd_print_repository_formats.hh6
-rw-r--r--src/clients/cave/cmd_print_repository_metadata.hh6
-rw-r--r--src/clients/cave/cmd_print_resolution_required_confirmations.hh6
-rw-r--r--src/clients/cave/cmd_print_set.hh6
-rw-r--r--src/clients/cave/cmd_print_sets.hh6
-rw-r--r--src/clients/cave/cmd_print_spec.hh6
-rw-r--r--src/clients/cave/cmd_print_sync_protocols.hh6
-rw-r--r--src/clients/cave/cmd_print_unmanaged_files.hh6
-rw-r--r--src/clients/cave/cmd_print_unused_distfiles.hh6
-rw-r--r--src/clients/cave/cmd_purge.hh6
-rw-r--r--src/clients/cave/cmd_report.hh6
-rw-r--r--src/clients/cave/cmd_resolve.hh6
-rw-r--r--src/clients/cave/cmd_resume.hh6
-rw-r--r--src/clients/cave/cmd_search.hh6
-rw-r--r--src/clients/cave/cmd_show.hh6
-rw-r--r--src/clients/cave/cmd_size.hh6
-rw-r--r--src/clients/cave/cmd_sync.hh6
-rw-r--r--src/clients/cave/cmd_sync_protocol_options.hh6
-rw-r--r--src/clients/cave/cmd_uninstall.hh6
-rw-r--r--src/clients/cave/cmd_update_world.hh6
-rw-r--r--src/clients/cave/cmd_verify.hh6
-rw-r--r--src/clients/cave/colour_pretty_printer.hh16
-rw-r--r--src/clients/cave/command_line.hh6
-rw-r--r--src/clients/cave/script_command.hh8
63 files changed, 195 insertions, 195 deletions
diff --git a/src/clients/cave/cmd_config.hh b/src/clients/cave/cmd_config.hh
index 9cf362a90..8ad4790fc 100644
--- a/src/clients/cave/cmd_config.hh
+++ b/src/clients/cave/cmd_config.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_contents.hh b/src/clients/cave/cmd_contents.hh
index 1dddb9f5f..2a6da4c8f 100644
--- a/src/clients/cave/cmd_contents.hh
+++ b/src/clients/cave/cmd_contents.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_digest.hh b/src/clients/cave/cmd_digest.hh
index bf50cc3d5..de144bccd 100644
--- a/src/clients/cave/cmd_digest.hh
+++ b/src/clients/cave/cmd_digest.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_display_resolution.hh b/src/clients/cave/cmd_display_resolution.hh
index c22ff8e42..995424087 100644
--- a/src/clients/cave/cmd_display_resolution.hh
+++ b/src/clients/cave/cmd_display_resolution.hh
@@ -31,12 +31,12 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
int run(
const std::shared_ptr<Environment> &,
@@ -44,7 +44,7 @@ namespace paludis
const std::shared_ptr<const resolver::Resolved> & maybe_resolved
);
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_dump_cave_formats_conf.hh b/src/clients/cave/cmd_dump_cave_formats_conf.hh
index 77fa4a3d6..bf5085886 100644
--- a/src/clients/cave/cmd_dump_cave_formats_conf.hh
+++ b/src/clients/cave/cmd_dump_cave_formats_conf.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_executables.hh b/src/clients/cave/cmd_executables.hh
index 097190347..03f0c6c8d 100644
--- a/src/clients/cave/cmd_executables.hh
+++ b/src/clients/cave/cmd_executables.hh
@@ -31,14 +31,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_execute_resolution.hh b/src/clients/cave/cmd_execute_resolution.hh
index 63c669dbc..ec149459b 100644
--- a/src/clients/cave/cmd_execute_resolution.hh
+++ b/src/clients/cave/cmd_execute_resolution.hh
@@ -31,19 +31,19 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args,
const std::shared_ptr<resolver::JobLists> & maybe_job_lists);
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_find_candidates.hh b/src/clients/cave/cmd_find_candidates.hh
index 716d3f1d4..019606fab 100644
--- a/src/clients/cave/cmd_find_candidates.hh
+++ b/src/clients/cave/cmd_find_candidates.hh
@@ -34,12 +34,12 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
int run_hosted(
const std::shared_ptr<Environment> &,
@@ -50,7 +50,7 @@ namespace paludis
const std::function<void (const PackageDepSpec &)> &,
const std::function<void (const std::string &)> &) PALUDIS_ATTRIBUTE((warn_unused_result));
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_fix_cache.hh b/src/clients/cave/cmd_fix_cache.hh
index 01b0f00ae..7b17ec609 100644
--- a/src/clients/cave/cmd_fix_cache.hh
+++ b/src/clients/cave/cmd_fix_cache.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_fix_linkage.hh b/src/clients/cave/cmd_fix_linkage.hh
index 35fbbe3e7..8e428b96c 100644
--- a/src/clients/cave/cmd_fix_linkage.hh
+++ b/src/clients/cave/cmd_fix_linkage.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_generate_metadata.hh b/src/clients/cave/cmd_generate_metadata.hh
index ac86ce19b..3e65da25c 100644
--- a/src/clients/cave/cmd_generate_metadata.hh
+++ b/src/clients/cave/cmd_generate_metadata.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_graph_jobs.hh b/src/clients/cave/cmd_graph_jobs.hh
index d0786a777..3dcc18fe6 100644
--- a/src/clients/cave/cmd_graph_jobs.hh
+++ b/src/clients/cave/cmd_graph_jobs.hh
@@ -31,12 +31,12 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
int run(
const std::shared_ptr<Environment> &,
@@ -44,7 +44,7 @@ namespace paludis
const std::shared_ptr<const resolver::Resolved> & maybe_resolved
);
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_has_version.hh b/src/clients/cave/cmd_has_version.hh
index a30690255..6bbcc6f44 100644
--- a/src/clients/cave/cmd_has_version.hh
+++ b/src/clients/cave/cmd_has_version.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_help.hh b/src/clients/cave/cmd_help.hh
index a903b6ea5..96b2ec732 100644
--- a/src/clients/cave/cmd_help.hh
+++ b/src/clients/cave/cmd_help.hh
@@ -29,12 +29,12 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(const std::shared_ptr<Environment> &,
- const std::shared_ptr< const Sequence<std::string> > & args);
+ const std::shared_ptr< const Sequence<std::string> > & args) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_import.hh b/src/clients/cave/cmd_import.hh
index 72c7f4d51..37c7ebe9e 100644
--- a/src/clients/cave/cmd_import.hh
+++ b/src/clients/cave/cmd_import.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_info.hh b/src/clients/cave/cmd_info.hh
index ad6e113e9..033c5e070 100644
--- a/src/clients/cave/cmd_info.hh
+++ b/src/clients/cave/cmd_info.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_manage_search_index.hh b/src/clients/cave/cmd_manage_search_index.hh
index 5bfa632a6..8cf604acf 100644
--- a/src/clients/cave/cmd_manage_search_index.hh
+++ b/src/clients/cave/cmd_manage_search_index.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_match.hh b/src/clients/cave/cmd_match.hh
index 4d72bb198..310986f8c 100644
--- a/src/clients/cave/cmd_match.hh
+++ b/src/clients/cave/cmd_match.hh
@@ -34,12 +34,12 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
bool run_hosted(
const std::shared_ptr<Environment> &,
@@ -47,7 +47,7 @@ namespace paludis
const std::shared_ptr<const Set<std::string> > &,
const PackageDepSpec &);
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_mirror.hh b/src/clients/cave/cmd_mirror.hh
index 6b56e5b7d..bcdc0bb12 100644
--- a/src/clients/cave/cmd_mirror.hh
+++ b/src/clients/cave/cmd_mirror.hh
@@ -31,14 +31,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_owner.hh b/src/clients/cave/cmd_owner.hh
index ed300f2ed..97a530748 100644
--- a/src/clients/cave/cmd_owner.hh
+++ b/src/clients/cave/cmd_owner.hh
@@ -31,14 +31,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_perform.hh b/src/clients/cave/cmd_perform.hh
index 111cb2fe3..3148d9c03 100644
--- a/src/clients/cave/cmd_perform.hh
+++ b/src/clients/cave/cmd_perform.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_best_version.hh b/src/clients/cave/cmd_print_best_version.hh
index e33de22b6..2c55aef54 100644
--- a/src/clients/cave/cmd_print_best_version.hh
+++ b/src/clients/cave/cmd_print_best_version.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_categories.hh b/src/clients/cave/cmd_print_categories.hh
index cb31dc410..a97d86d3d 100644
--- a/src/clients/cave/cmd_print_categories.hh
+++ b/src/clients/cave/cmd_print_categories.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_checksum.hh b/src/clients/cave/cmd_print_checksum.hh
index cba0b5fc2..01b4a8e32 100644
--- a/src/clients/cave/cmd_print_checksum.hh
+++ b/src/clients/cave/cmd_print_checksum.hh
@@ -30,12 +30,12 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(const std::shared_ptr<Environment> &,
- const std::shared_ptr<const Sequence<std::string> > & args);
+ const std::shared_ptr<const Sequence<std::string> > & args) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_checksum_algorithms.hh b/src/clients/cave/cmd_print_checksum_algorithms.hh
index 2c1105623..6e84bbf0b 100644
--- a/src/clients/cave/cmd_print_checksum_algorithms.hh
+++ b/src/clients/cave/cmd_print_checksum_algorithms.hh
@@ -30,12 +30,12 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(const std::shared_ptr<Environment> &,
- const std::shared_ptr<const Sequence<std::string> > & args);
+ const std::shared_ptr<const Sequence<std::string> > & args) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_commands.hh b/src/clients/cave/cmd_print_commands.hh
index f6049a0d3..6fc3c3cb9 100644
--- a/src/clients/cave/cmd_print_commands.hh
+++ b/src/clients/cave/cmd_print_commands.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_dependent_ids.hh b/src/clients/cave/cmd_print_dependent_ids.hh
index 86dbe7605..cf5f7c847 100644
--- a/src/clients/cave/cmd_print_dependent_ids.hh
+++ b/src/clients/cave/cmd_print_dependent_ids.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_environment_metadata.hh b/src/clients/cave/cmd_print_environment_metadata.hh
index 43f071352..55fc72233 100644
--- a/src/clients/cave/cmd_print_environment_metadata.hh
+++ b/src/clients/cave/cmd_print_environment_metadata.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_id_actions.hh b/src/clients/cave/cmd_print_id_actions.hh
index 32e155c5e..ae582a250 100644
--- a/src/clients/cave/cmd_print_id_actions.hh
+++ b/src/clients/cave/cmd_print_id_actions.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_id_contents.hh b/src/clients/cave/cmd_print_id_contents.hh
index aabde60b2..10778c49f 100644
--- a/src/clients/cave/cmd_print_id_contents.hh
+++ b/src/clients/cave/cmd_print_id_contents.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_id_environment_variable.hh b/src/clients/cave/cmd_print_id_environment_variable.hh
index 26bbda466..611e97a83 100644
--- a/src/clients/cave/cmd_print_id_environment_variable.hh
+++ b/src/clients/cave/cmd_print_id_environment_variable.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_id_executables.hh b/src/clients/cave/cmd_print_id_executables.hh
index 0eaea9f04..4d0e5150c 100644
--- a/src/clients/cave/cmd_print_id_executables.hh
+++ b/src/clients/cave/cmd_print_id_executables.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_id_masks.hh b/src/clients/cave/cmd_print_id_masks.hh
index d005ef66f..e734b9125 100644
--- a/src/clients/cave/cmd_print_id_masks.hh
+++ b/src/clients/cave/cmd_print_id_masks.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_id_metadata.hh b/src/clients/cave/cmd_print_id_metadata.hh
index bc9fa40c5..f7a8fde98 100644
--- a/src/clients/cave/cmd_print_id_metadata.hh
+++ b/src/clients/cave/cmd_print_id_metadata.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_id_size.hh b/src/clients/cave/cmd_print_id_size.hh
index 1e31953d8..bcddb3fb1 100644
--- a/src/clients/cave/cmd_print_id_size.hh
+++ b/src/clients/cave/cmd_print_id_size.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_ids.hh b/src/clients/cave/cmd_print_ids.hh
index 3cbb7ff36..32af5068a 100644
--- a/src/clients/cave/cmd_print_ids.hh
+++ b/src/clients/cave/cmd_print_ids.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_owners.hh b/src/clients/cave/cmd_print_owners.hh
index 9b52ec9b0..c555145c7 100644
--- a/src/clients/cave/cmd_print_owners.hh
+++ b/src/clients/cave/cmd_print_owners.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_packages.hh b/src/clients/cave/cmd_print_packages.hh
index 0628663df..b6663d332 100644
--- a/src/clients/cave/cmd_print_packages.hh
+++ b/src/clients/cave/cmd_print_packages.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_repositories.hh b/src/clients/cave/cmd_print_repositories.hh
index 9f20fd088..46c595b22 100644
--- a/src/clients/cave/cmd_print_repositories.hh
+++ b/src/clients/cave/cmd_print_repositories.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_repository_formats.hh b/src/clients/cave/cmd_print_repository_formats.hh
index 71ca24456..981a38c0b 100644
--- a/src/clients/cave/cmd_print_repository_formats.hh
+++ b/src/clients/cave/cmd_print_repository_formats.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_repository_metadata.hh b/src/clients/cave/cmd_print_repository_metadata.hh
index e07b70d1e..29234e7d2 100644
--- a/src/clients/cave/cmd_print_repository_metadata.hh
+++ b/src/clients/cave/cmd_print_repository_metadata.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_resolution_required_confirmations.hh b/src/clients/cave/cmd_print_resolution_required_confirmations.hh
index 1dced261d..3c4a8bba8 100644
--- a/src/clients/cave/cmd_print_resolution_required_confirmations.hh
+++ b/src/clients/cave/cmd_print_resolution_required_confirmations.hh
@@ -31,12 +31,12 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
int run(
const std::shared_ptr<Environment> &,
@@ -44,7 +44,7 @@ namespace paludis
const std::shared_ptr<const resolver::Resolved> & maybe_resolved
);
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_set.hh b/src/clients/cave/cmd_print_set.hh
index 270937df9..868aa064b 100644
--- a/src/clients/cave/cmd_print_set.hh
+++ b/src/clients/cave/cmd_print_set.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_sets.hh b/src/clients/cave/cmd_print_sets.hh
index 4a4c33f2a..c44a71060 100644
--- a/src/clients/cave/cmd_print_sets.hh
+++ b/src/clients/cave/cmd_print_sets.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_spec.hh b/src/clients/cave/cmd_print_spec.hh
index b5be4cf97..cca0f1e61 100644
--- a/src/clients/cave/cmd_print_spec.hh
+++ b/src/clients/cave/cmd_print_spec.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_sync_protocols.hh b/src/clients/cave/cmd_print_sync_protocols.hh
index 2287b61cb..bdbdae43a 100644
--- a/src/clients/cave/cmd_print_sync_protocols.hh
+++ b/src/clients/cave/cmd_print_sync_protocols.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_unmanaged_files.hh b/src/clients/cave/cmd_print_unmanaged_files.hh
index 2f4081aa7..3ea41fcc7 100644
--- a/src/clients/cave/cmd_print_unmanaged_files.hh
+++ b/src/clients/cave/cmd_print_unmanaged_files.hh
@@ -29,12 +29,12 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(const std::shared_ptr<Environment> &,
- const std::shared_ptr< const Sequence<std::string> > & args);
+ const std::shared_ptr< const Sequence<std::string> > & args) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_print_unused_distfiles.hh b/src/clients/cave/cmd_print_unused_distfiles.hh
index 2eb082762..a6332a64a 100644
--- a/src/clients/cave/cmd_print_unused_distfiles.hh
+++ b/src/clients/cave/cmd_print_unused_distfiles.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_purge.hh b/src/clients/cave/cmd_purge.hh
index 52e261d03..8dd1fe5da 100644
--- a/src/clients/cave/cmd_purge.hh
+++ b/src/clients/cave/cmd_purge.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_report.hh b/src/clients/cave/cmd_report.hh
index dcbc57d03..e47aeb862 100644
--- a/src/clients/cave/cmd_report.hh
+++ b/src/clients/cave/cmd_report.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_resolve.hh b/src/clients/cave/cmd_resolve.hh
index 4903f8c9b..f85ce3617 100644
--- a/src/clients/cave/cmd_resolve.hh
+++ b/src/clients/cave/cmd_resolve.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_resume.hh b/src/clients/cave/cmd_resume.hh
index 463ee5fc9..e4bd60c0f 100644
--- a/src/clients/cave/cmd_resume.hh
+++ b/src/clients/cave/cmd_resume.hh
@@ -31,14 +31,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_search.hh b/src/clients/cave/cmd_search.hh
index 00a1adede..3e74cccad 100644
--- a/src/clients/cave/cmd_search.hh
+++ b/src/clients/cave/cmd_search.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_show.hh b/src/clients/cave/cmd_show.hh
index 13029d57c..9b61bf14a 100644
--- a/src/clients/cave/cmd_show.hh
+++ b/src/clients/cave/cmd_show.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_size.hh b/src/clients/cave/cmd_size.hh
index b4970de97..d7cde2aaf 100644
--- a/src/clients/cave/cmd_size.hh
+++ b/src/clients/cave/cmd_size.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_sync.hh b/src/clients/cave/cmd_sync.hh
index 7b189603a..cae539121 100644
--- a/src/clients/cave/cmd_sync.hh
+++ b/src/clients/cave/cmd_sync.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_sync_protocol_options.hh b/src/clients/cave/cmd_sync_protocol_options.hh
index 00ba25996..3cfab93f6 100644
--- a/src/clients/cave/cmd_sync_protocol_options.hh
+++ b/src/clients/cave/cmd_sync_protocol_options.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_uninstall.hh b/src/clients/cave/cmd_uninstall.hh
index e9f5c4024..3e8870d8e 100644
--- a/src/clients/cave/cmd_uninstall.hh
+++ b/src/clients/cave/cmd_uninstall.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_update_world.hh b/src/clients/cave/cmd_update_world.hh
index c70352edb..3b00f736a 100644
--- a/src/clients/cave/cmd_update_world.hh
+++ b/src/clients/cave/cmd_update_world.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/cmd_verify.hh b/src/clients/cave/cmd_verify.hh
index 8579214e7..564699409 100644
--- a/src/clients/cave/cmd_verify.hh
+++ b/src/clients/cave/cmd_verify.hh
@@ -30,14 +30,14 @@ namespace paludis
public Command
{
public:
- virtual CommandImportance importance() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ CommandImportance importance() const override PALUDIS_ATTRIBUTE((warn_unused_result));
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- );
+ ) override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline();
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override;
};
}
}
diff --git a/src/clients/cave/colour_pretty_printer.hh b/src/clients/cave/colour_pretty_printer.hh
index f49befb62..c5bc3babf 100644
--- a/src/clients/cave/colour_pretty_printer.hh
+++ b/src/clients/cave/colour_pretty_printer.hh
@@ -34,12 +34,12 @@ namespace paludis
int _initial_indent;
protected:
- virtual const std::string format_enabled(const std::string &) const;
- virtual const std::string format_disabled(const std::string &) const;
- virtual const std::string format_installed(const std::string &) const;
- virtual const std::string format_installable(const std::string &) const;
- virtual const std::string format_masked(const std::string &) const;
- virtual const std::string format_plain(const std::string &) const;
+ const std::string format_enabled(const std::string &) const override;
+ const std::string format_disabled(const std::string &) const override;
+ const std::string format_installed(const std::string &) const override;
+ const std::string format_installable(const std::string &) const override;
+ const std::string format_masked(const std::string &) const override;
+ const std::string format_plain(const std::string &) const override;
public:
ColourPrettyPrinter(
@@ -47,8 +47,8 @@ namespace paludis
const std::shared_ptr<const PackageID> & id,
const int initial_indent);
- virtual const std::string indentify(const int) const;
- virtual const std::string newline() const;
+ const std::string indentify(const int) const override;
+ const std::string newline() const override;
const std::string prettify_choice_value_forced(const std::shared_ptr<const ChoiceValue> &) const;
const std::string prettify_choice_value_enabled(const std::shared_ptr<const ChoiceValue> &) const;
diff --git a/src/clients/cave/command_line.hh b/src/clients/cave/command_line.hh
index e18fbcf68..0aa7f2762 100644
--- a/src/clients/cave/command_line.hh
+++ b/src/clients/cave/command_line.hh
@@ -30,17 +30,17 @@ namespace paludis
struct CaveCommandLine :
args::ArgsHandler
{
- virtual std::string app_name() const
+ std::string app_name() const override
{
return "cave";
}
- virtual std::string app_synopsis() const
+ std::string app_synopsis() const override
{
return "A commandline client for the other package mangler.";
}
- virtual std::string app_description() const
+ std::string app_description() const override
{
return "The front-end to a number of commands.";
}
diff --git a/src/clients/cave/script_command.hh b/src/clients/cave/script_command.hh
index 39132fc48..067b4ae18 100644
--- a/src/clients/cave/script_command.hh
+++ b/src/clients/cave/script_command.hh
@@ -36,16 +36,16 @@ namespace paludis
public:
ScriptCommand(const std::string &, const FSPath &);
- ~ScriptCommand();
+ ~ScriptCommand() override;
int run(
const std::shared_ptr<Environment> &,
const std::shared_ptr<const Sequence<std::string > > & args
- ) PALUDIS_ATTRIBUTE((noreturn));
+ ) override PALUDIS_ATTRIBUTE((noreturn));
- virtual CommandImportance importance() const;
+ CommandImportance importance() const override;
- std::shared_ptr<args::ArgsHandler> make_doc_cmdline() PALUDIS_ATTRIBUTE((noreturn));
+ std::shared_ptr<args::ArgsHandler> make_doc_cmdline() override PALUDIS_ATTRIBUTE((noreturn));
};
}
}