I realize this error is usually due to some syntax or type issues but I am not sure how to solve this problem. I think it may do with the type of findRt.
vector&
Use an iterator http://www.cplusplus.com/reference/std/iterator/.
Example would be
vector::iterator it; cout << "myvector contains:"; for ( it=myvector.begin() ; it < myvector.end(); it++ ) cout << " " << *it; cout << endl; return 0;
This assumes you have an operator<< for the triangle type.
operator<<
triangle