It's hard to guess with the information in the OP at the moment, but let me try.
Assuming everything else is in place, since the expression in OP is a function call, try changing the way you pass the last argument. If you want to pass it as a pointer, you must use both before the name and not after.
Lca<RankVec, VertexVec> lca(graphList[0], dset, &ss);
source
share