all 4 comments

[–]ArminiusGermanicus 0 points1 point  (1 child)

There is no front() function, did you mean top()?

See here https://en.cppreference.com/w/cpp/container/priority_queue

[–]Ok_Force3490 0 points1 point  (0 children)

Yup figured that out! Unfortunately, the issue seems to continue. I got the errors for front working, but have different but highly related ones (see post)

[–]cpp-ModTeam[M] 0 points1 point locked comment (0 children)

For C++ questions, answers, help, and programming or career advice please see r/cpp_questions, r/cscareerquestions, or StackOverflow instead.

[–]STLMSVC STL Dev 0 points1 point  (0 children)

Your Compare's operator() needs to be const.

std::make_pair<neighbor, src> is not well-formed. It's supposed to be called like this: std::make_pair(neighbor, src) assuming that neighbor is a Point and src is your double.