object of abstract class type “Connection” is not allowed

前端 未结 3 872
终归单人心
终归单人心 2021-01-21 03:59
class Connection
{
public:
  typedef boost::shared_ptr pointer;
  static pointer create(boost::asio::io_service& io_service){return pointer(new Con         


        
3条回答
  •  心在旅途
    2021-01-21 04:25

    You have decided to make Connection abstract, but then attempted to instantiate it. Which did you mean to do?

提交回复
热议问题