test.h
class A
{
public:
virtual void FunctionA(void) = 0;
virtual ~A(void);
};
class B
{
public:
virtual void FunctionB(void) = 0;
virtual ~B(void);
};
class C:public A, public B
{
public:
virtual ~C(void) = 0;
};
test.cpp
#include "test.h"
inline A::~A(void){}
inline B::~B(void){}
inline C::~C(void){}
C4505 'C:~C' :unreferenced local function has been removed という警告が表示されるのはなぜですか?