> I think it complains the class has no constructor other than the
> copy one.
>
> you should try to add one :
>
> class MyClass {
> public:
> MyClass(AnotherClass *p); // constructor
> MyClass(const MyClass &mc); // copy constructor
>
> private:
> AnotherClass* const ptrToAnotherClass;
>
> }
>
> MyClass::MyClass(AnotherClass *p) :
> ptrToAnotherClass(p)
> {
> // other assignments
> }
I actually do have one, I just omitted it for clarity.
Jon
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d