Warning cleanups
This commit is contained in:
parent
9449fca22f
commit
adfc56db8b
@ -9,7 +9,7 @@ class TestBaseType
|
|||||||
public:
|
public:
|
||||||
TestBaseType() : val(10), const_val(15) { }
|
TestBaseType() : val(10), const_val(15) { }
|
||||||
TestBaseType(int) : val(10), const_val(15) {}
|
TestBaseType(int) : val(10), const_val(15) {}
|
||||||
TestBaseType(int *i) : val(10), const_val(15) { }
|
TestBaseType(int *) : val(10), const_val(15) { }
|
||||||
TestBaseType(const TestBaseType &) = default;
|
TestBaseType(const TestBaseType &) = default;
|
||||||
virtual ~TestBaseType() {}
|
virtual ~TestBaseType() {}
|
||||||
virtual int func() { return 0; }
|
virtual int func() { return 0; }
|
||||||
@ -100,7 +100,7 @@ std::string hello_world()
|
|||||||
return "Hello World";
|
return "Hello World";
|
||||||
}
|
}
|
||||||
|
|
||||||
int global_i = 1;
|
static int global_i = 1;
|
||||||
|
|
||||||
int *get_new_int()
|
int *get_new_int()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user