In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp:53:5: error: invalid use of destructor '~ShortestP2P' as a type
~ShortestP2P=default;
^
In file included from /in/shortestP2P.cc:1:0:
/in/shortestP2P.hpp:53:5: error: invalid use of destructor '~ShortestP2P' as a type
~ShortestP2P=default;
^
/in/shortestP2P.cc:15:1: error: redefinition of 'ShortestP2P::ShortestP2P()'
ShortestP2P::ShortestP2P() = default;
^~~~~~~~~~~
In file included from /in/shortestP2P.cc:1:0:
/in/shortestP2P.hpp:16:7: note: 'ShortestP2P::ShortestP2P()' previously defined here
ShortestP2P() {}
^~~~~~~~~~~