But I'm getting an undefined symbol error for the (dnI) cycle routine. This doesn't occur when I pass the vector by value, but...I'd much rather pass it by reference.
The error doesn't mention references. Do you happen to have by any chance a second declaration that passes by value (to be honest, I'm not sure that'd be valid).
Doesn't appear so, but...I just rebuilt my entire project, and the problem magically disappeared. (I think qmake has some bugs in it.) Thanks for looking; I appreciate it.