小杨想在双向链表中加入一首新歌曲,将其作为链表的第一首歌曲,则下面横线上应填入的代码为( )。
void insert(dl_node *head, string my_song) {
p = new dl_node;
p->song = my_song;
p->prev = nullptr;
p->next = head;
if (head != nullptr) {
__________________________ // 在此处填入代码
}
head = p;
}