aboutsummaryrefslogtreecommitdiff
path: root/paludis/partially_made_package_dep_spec.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/partially_made_package_dep_spec.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/partially_made_package_dep_spec.cc')
-rw-r--r--paludis/partially_made_package_dep_spec.cc28
1 files changed, 14 insertions, 14 deletions
diff --git a/paludis/partially_made_package_dep_spec.cc b/paludis/partially_made_package_dep_spec.cc
index 4ffd0df4a..e3851a7fa 100644
--- a/paludis/partially_made_package_dep_spec.cc
+++ b/paludis/partially_made_package_dep_spec.cc
@@ -111,7 +111,7 @@ namespace
{
}
- virtual std::string as_string() const
+ std::string as_string() const override
{
std::ostringstream s;
@@ -277,67 +277,67 @@ namespace
return s.str();
}
- virtual std::shared_ptr<const QualifiedPackageName> package_ptr() const
+ std::shared_ptr<const QualifiedPackageName> package_ptr() const override
{
return package;
}
- virtual std::shared_ptr<const PackageNamePart> package_name_part_ptr() const
+ std::shared_ptr<const PackageNamePart> package_name_part_ptr() const override
{
return package_name_part;
}
- virtual std::shared_ptr<const CategoryNamePart> category_name_part_ptr() const
+ std::shared_ptr<const CategoryNamePart> category_name_part_ptr() const override
{
return category_name_part;
}
- virtual std::shared_ptr<const VersionRequirements> version_requirements_ptr() const
+ std::shared_ptr<const VersionRequirements> version_requirements_ptr() const override
{
return version_requirements;
}
- virtual VersionRequirementsMode version_requirements_mode() const
+ VersionRequirementsMode version_requirements_mode() const override
{
return version_requirements_mode_v;
}
- virtual std::shared_ptr<const SlotRequirement> slot_requirement_ptr() const
+ std::shared_ptr<const SlotRequirement> slot_requirement_ptr() const override
{
return slot;
}
- virtual std::shared_ptr<const RepositoryName> in_repository_ptr() const
+ std::shared_ptr<const RepositoryName> in_repository_ptr() const override
{
return in_repository;
}
- virtual std::shared_ptr<const InstallableToRepository> installable_to_repository_ptr() const
+ std::shared_ptr<const InstallableToRepository> installable_to_repository_ptr() const override
{
return installable_to_repository;
}
- virtual std::shared_ptr<const RepositoryName> from_repository_ptr() const
+ std::shared_ptr<const RepositoryName> from_repository_ptr() const override
{
return from_repository;
}
- virtual std::shared_ptr<const FSPath> installed_at_path_ptr() const
+ std::shared_ptr<const FSPath> installed_at_path_ptr() const override
{
return installed_at_path;
}
- virtual std::shared_ptr<const InstallableToPath> installable_to_path_ptr() const
+ std::shared_ptr<const InstallableToPath> installable_to_path_ptr() const override
{
return installable_to_path;
}
- virtual std::shared_ptr<const AdditionalPackageDepSpecRequirements> additional_requirements_ptr() const
+ std::shared_ptr<const AdditionalPackageDepSpecRequirements> additional_requirements_ptr() const override
{
return additional_requirements;
}
- virtual const PartiallyMadePackageDepSpecOptions options_for_partially_made_package_dep_spec() const
+ const PartiallyMadePackageDepSpecOptions options_for_partially_made_package_dep_spec() const override
{
return options_for_partially_made_package_dep_spec_v;
}