Parcourir la source

../../../src/lib/asiolink/ioaddress.h:37: warning: 'class asiolink::IOAddress' has virtual functions but non-virtual destructor

so remove "virtual"

(via jabber)


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3508 e5f2f494-b856-4b98-b285-d166d9295462
Jeremy C. Reed il y a 14 ans
Parent
commit
81d271cea4
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/lib/asiolink/ioaddress.h

+ 2 - 2
src/lib/asiolink/ioaddress.h

@@ -73,10 +73,10 @@ public:
     /// and if it fails the corresponding standard exception will be thrown.
     ///
     /// \return A string representation of the address.
-    virtual std::string toText() const;
+    std::string toText() const;
 
     /// \brief Returns the address family.
-    virtual short getFamily() const;
+    short getFamily() const;
 
 private:
     asio::ip::address asio_address_;