AudioProcessorGraph addNode

Hi, back when I last constructed an AudioProcessorGraph you could just pass a pointer via addNode, but I cant get this to work at all now. If I explicitly copy it to a unique_ptr msvc complains it cant be referenced as its a deleted function.

Most examples I see now use AudioPluginInstance instead but this makes no difference, effectively same problem, so im not certain whats up. Should this example not work?

AudioProcessorGraph::NodeID AddProcessor(AudioProcessor* p)
   AudioProcessorGraph::Node::Ptr node;
   node = graph.addNode(p);
   return node->nodeId;

ah I knew i was losing it, didnt declare unique_ptr in the expression. More whisky…