View Single Post
  #2   Spotlight this post!  
Unread 01-02-2013, 09:24
nightpool's Avatar
nightpool nightpool is offline
robotRectifier
AKA: Evan
no team (formerly of CORE 2062)
Team Role: Alumni
 
Join Date: Oct 2011
Rookie Year: 2011
Location: Waukesha, WI
Posts: 81
nightpool is on a distinguished road
Re: Using Victors with RobotDrive

No, code-wise, that should work just fine.
Conventionally, things like that are passed in as pointers, but the constructor is overloaded such that it can take references instead, like you're doing (with no functional difference).
The only thing I can think of would be modifying it to pass pointers.
Code:
myRobot(&victor1, &victor2),
But that really shouldn't fix anything...
__________________
Proud alum of CORE 2062.
www.core2062.com
Reply With Quote