poly: remove extra semicolon

master
neingeist 10 years ago
parent 83ae29efcc
commit 0e43b30736

@ -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>";
}
};

Loading…
Cancel
Save