Removed warnings in GCC 4.8 -Wall -pedantic

This commit is contained in:
Ion Gaztañaga
2014-09-25 16:45:22 +02:00
parent 4e7a046df2
commit 76ab7093ae
4 changed files with 59 additions and 55 deletions
+2 -2
View File
@@ -47,8 +47,8 @@ struct B
: public A
{
static int count;
B() {++count;}
B(const B&) {++count;}
B() : A() {++count;}
B(const B&) : A() {++count;}
virtual ~B() {--count;}
};