[ERROR]
There is no conversion from a class to another class that is not a base class of the first class.
struct A {
int i;
};
struct B : A {
int j;
};
void main() {
A a;
B b;
b=a; // error: B is not a base class of A
}
Remove this statement, or modify the class hierarchy.