aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments
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/environments
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/environments')
-rw-r--r--paludis/environments/paludis/paludis_environment.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/paludis/environments/paludis/paludis_environment.cc b/paludis/environments/paludis/paludis_environment.cc
index 033ce77a2..b4a8c66f1 100644
--- a/paludis/environments/paludis/paludis_environment.cc
+++ b/paludis/environments/paludis/paludis_environment.cc
@@ -342,17 +342,17 @@ namespace
{
}
- char key() const
+ char key() const override
{
return 'B';
}
- const std::string description() const
+ const std::string description() const override
{
return "breaks Portage";
}
- const std::string explanation() const
+ const std::string explanation() const override
{
return breakages;
}
@@ -370,12 +370,12 @@ namespace
{
}
- char key() const
+ char key() const override
{
return _overridden ? 'u' : 'U';
}
- const std::string description() const
+ const std::string description() const override
{
return _overridden ? "user (overridden)" : "user";
}