[omniORB] two interfaces and factory function
Duncan Grisby
duncan at grisby.org
Sat Mar 1 15:56:25 GMT 2008
On Friday 29 February, Ronald Andrae wrote:
> I have defined,
>
> class Student_impl : public POA_Student, public User_impl {
> //..
> }
>
> when I use "_this()" in the factory function, I get an error that the
> compiler has a multiple choise.
Please don't send html email to the omniORB mailing list. It upsets the
mailing list archive.
You need to use virtual inheritance throughout your inheritance
hierarchy, then the compiler will know what to do.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list