Error please help

Please get this resolved Its showing error for Single source shortest path lecture:

There is a } missing at line 19.

Please check the code again .

Minor edits:
add #include to use INT_MAX
remove semicolon from template
Add closing brace( } ) for addEdge function.