I have a virtual base class and two classes that implement the various methods. The two classes have the same functionality for one of the methods. Is there away I can share the implementation between the two classes to eliminate redundant code? I tried making the first class a parent of the second class in addition to the virtual base class but got a bunch of errors.
EDIT - Thanks everyone for the replies. One thing I should have mentioned is that I cannot modify the virtual base class so just adding the code to the base class will not work.