C++ – No matching member function for call to ‘push_back’

vertex_puller is a std::make_unique<VertexPuller> function. It’s not a unique_ptr<VertexPuller>. You have to call the function and pass any parameters you would pass to a VertexPuller constructor.

auto vertex_puller= std::make_unique<VertexPuller>(); // note the parentheses

Leave a Comment