src: drop 'virtual' from functions marked 'final' or 'override'
Change-Id: Ieb6df864ab82f77b2bee9e83aa0bfa2005715950
Refs: #3857
diff --git a/src/util/face-uri.cpp b/src/util/face-uri.cpp
index acdbc11..fea4e16 100644
--- a/src/util/face-uri.cpp
+++ b/src/util/face-uri.cpp
@@ -241,7 +241,7 @@
class IpHostCanonizeProvider : public CanonizeProvider
{
public:
- virtual std::set<std::string>
+ std::set<std::string>
getSchemes() const override
{
std::set<std::string> schemes;
@@ -251,7 +251,7 @@
return schemes;
}
- virtual bool
+ bool
isCanonical(const FaceUri& faceUri) const override
{
if (faceUri.getPort().empty()) {
@@ -276,7 +276,7 @@
this->checkAddress(addr).first;
}
- virtual void
+ void
canonize(const FaceUri& faceUri,
const FaceUri::CanonizeSuccessCallback& onSuccess,
const FaceUri::CanonizeFailureCallback& onFailure,
@@ -402,7 +402,7 @@
}
protected:
- virtual std::pair<bool, std::string>
+ std::pair<bool, std::string>
checkAddress(const dns::IpAddress& ipAddress) const override
{
if (ipAddress.is_multicast()) {
@@ -415,7 +415,7 @@
class EtherCanonizeProvider : public CanonizeProvider
{
public:
- virtual std::set<std::string>
+ std::set<std::string>
getSchemes() const override
{
std::set<std::string> schemes;
@@ -423,7 +423,7 @@
return schemes;
}
- virtual bool
+ bool
isCanonical(const FaceUri& faceUri) const override
{
if (!faceUri.getPort().empty()) {
@@ -437,7 +437,7 @@
return addr.toString() == faceUri.getHost();
}
- virtual void
+ void
canonize(const FaceUri& faceUri,
const FaceUri::CanonizeSuccessCallback& onSuccess,
const FaceUri::CanonizeFailureCallback& onFailure,
@@ -458,13 +458,13 @@
class UdpDevCanonizeProvider : public CanonizeProvider
{
public:
- virtual std::set<std::string>
+ std::set<std::string>
getSchemes() const override
{
return {"udp4+dev", "udp6+dev"};
}
- virtual bool
+ bool
isCanonical(const FaceUri& faceUri) const override
{
if (faceUri.getPort().empty()) {
@@ -476,7 +476,7 @@
return true;
}
- virtual void
+ void
canonize(const FaceUri& faceUri,
const FaceUri::CanonizeSuccessCallback& onSuccess,
const FaceUri::CanonizeFailureCallback& onFailure,