deleted function 'virtual Classname::~Classname()' overriding non-deleted function VIRTUAL DESTRUCTOR

后端 未结 0 1204
情深已故
情深已故 2021-02-01 23:51

I am trying to find the problem in this code, it does not compile in C++14.

I think I need to define the destructor of the Line class, but failing to do so.

Also,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题