poly: remove extra semicolon

This commit is contained in:
neingeist 2014-08-18 22:36:30 +02:00
parent 83ae29efcc
commit 0e43b30736

View file

@ -5,7 +5,7 @@
class Animal {
public:
// virtual std::string talk() = 0; /* pure virtual */
virtual std::string talk() { ; /* or an implementation */
virtual std::string talk() { /* or an implementation */
return "<sound>";
}
};