Removed warnings in GCC 4.8 -Wall -pedantic

This commit is contained in:
Ion Gaztañaga committed 2014-09-25 16:45:22 +02:00
1 parent 4e7a046df2
commit 76ab7093ae
4 files changed
+59 -55

No files matched your search

+2 -2
View File
@@ -173,8 +173,8 @@ struct B
: public A
{
static int count;
B() {++count;}
B(const B&) {++count;}
B() : A() {++count;}
B(const B &b) : A(b) {++count;}
virtual ~B() {--count;}
};