Fix inherits implicit virtual warning. (#1641)

This commit is contained in:
Łukasz Duda
2017-04-21 15:53:22 -07:00
committed by Jonathan Hui
parent b175d7b0f6
commit 3d68d1ad3a
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -66,7 +66,7 @@ public:
* @returns The number of bytes placed in the output queue.
*
*/
int Output(const char *aBuf, uint16_t aBufLength);
virtual int Output(const char *aBuf, uint16_t aBufLength);
/**
* This method delivers formatted output to the client.
@@ -77,7 +77,7 @@ public:
* @returns The number of bytes placed in the output queue.
*
*/
int OutputFormat(const char *fmt, ...);
virtual int OutputFormat(const char *fmt, ...);
/**
* This method delivers formatted output to the client.
+2 -2
View File
@@ -74,7 +74,7 @@ public:
* @returns The number of bytes placed in the output queue.
*
*/
int Output(const char *aBuf, uint16_t aBufLength);
virtual int Output(const char *aBuf, uint16_t aBufLength);
/**
* This method delivers formatted output to the client.
@@ -85,7 +85,7 @@ public:
* @returns The number of bytes placed in the output queue.
*
*/
int OutputFormat(const char *fmt, ...);
virtual int OutputFormat(const char *fmt, ...);
private:
enum
+3 -3
View File
@@ -132,7 +132,7 @@ public:
* @param[out] aAddress A reference to the link address.
*
*/
ThreadError GetLinkAddress(Ip6::LinkAddress &aAddress) const;
virtual ThreadError GetLinkAddress(Ip6::LinkAddress &aAddress) const;
/**
* This method submits a message to the network interface.
@@ -142,7 +142,7 @@ public:
* @retval kThreadError_None Successfully submitted the message to the interface.
*
*/
ThreadError SendMessage(Message &aMessage) { return mMeshForwarder.SendMessage(aMessage); }
virtual ThreadError SendMessage(Message &aMessage) { return mMeshForwarder.SendMessage(aMessage); }
/**
* This method performs a route lookup.
@@ -155,7 +155,7 @@ public:
* @retval kThreadError_NoRoute Could not find a valid route.
*
*/
ThreadError RouteLookup(const Ip6::Address &aSource, const Ip6::Address &aDestination, uint8_t *aPrefixMatch);
virtual ThreadError RouteLookup(const Ip6::Address &aSource, const Ip6::Address &aDestination, uint8_t *aPrefixMatch);
/**
* This method returns a reference to the address resolver object.