aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/parse_dependency_label.cc
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-08-04 22:09:28 -0700
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-08-04 22:16:44 -0700
commit1ad5f5ce2025f1db0ea5dd1fcf72223430f143b4 (patch)
tree9cc653b6e2e4650168790a0dba9c86b2ce2a0ae1 /paludis/repositories/e/parse_dependency_label.cc
parentd81457e4208ba6ed94b86e430c567e4c0e1f7046 (diff)
downloadpaludis-1ad5f5ce2025f1db0ea5dd1fcf72223430f143b4.tar.gz
paludis-1ad5f5ce2025f1db0ea5dd1fcf72223430f143b4.tar.xz
modernize: use override annotations
Automated addition of override to overridden functions. NFC.
Diffstat (limited to 'paludis/repositories/e/parse_dependency_label.cc')
-rw-r--r--paludis/repositories/e/parse_dependency_label.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/e/parse_dependency_label.cc b/paludis/repositories/e/parse_dependency_label.cc
index 021cc3e06..fde8e0440 100644
--- a/paludis/repositories/e/parse_dependency_label.cc
+++ b/paludis/repositories/e/parse_dependency_label.cc
@@ -84,12 +84,12 @@ namespace
{
}
- virtual bool enabled(const Environment * const env, const std::shared_ptr<const PackageID> & id) const
+ bool enabled(const Environment * const env, const std::shared_ptr<const PackageID> & id) const override
{
return enabled_if_option(env, id, label_text, choice_name);
}
- virtual const std::string text() const
+ const std::string text() const override
{
return label_text;
}