]> git.tdb.fi Git - libs/net.git/commitdiff
Add missing virtual keywords
authorMikko Rasa <tdb@tdb.fi>
Wed, 10 Aug 2011 15:18:27 +0000 (18:18 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 10 Aug 2011 15:18:27 +0000 (18:18 +0300)
source/inet.h

index 94436f9c877873aceaa1b3a21aa822ff4f779b29..20f433ad2996418106e38f4ef675f949114c7e28 100644 (file)
@@ -23,8 +23,8 @@ public:
 
        virtual SysAddr to_sys() const;
 
-       Family get_family() const { return INET; }
-       std::string str() const;
+       virtual Family get_family() const { return INET; }
+       virtual std::string str() const;
 };
 
 } // namespace Net