My class is polymorphic and should not be used in any way. It has an element that is of type Font & and as a result, the compiler cannot generate the an = operator. So I just created dummy implementations of the destination and copy constructor, put them in a private class, but it still warns me that the assignment operator cannot get the generated one. How else can I get rid of this warning?
thank
Warning 9 warning C4512: "AguiWidget": an assignment statement cannot be generated c: \ users \ josh \ documents \ visual studio 2008 \ projects \ agui \ alleg_5 \ agui \ aguiwidget.hpp 250
source
share