This commit is contained in:
Eric House 2013-09-05 07:53:47 -07:00
parent fdbdfa5911
commit 5b7a039d78
3 changed files with 3 additions and 3 deletions

View file

@ -139,7 +139,7 @@ DevMgr::getKnownDevices( vector<DevIDRelay>& devids )
// it, so that as much work as possible is done on the calling thread without // it, so that as much work as possible is done on the calling thread without
// holding up more important stuff. // holding up more important stuff.
void void
DevMgr::printDevices( StrWPF& str, vector<DevIDRelay> devids ) DevMgr::printDevices( StrWPF& str, const vector<DevIDRelay>& devids )
{ {
map<uint32_t, DevIDRelay> agedDevs; map<uint32_t, DevIDRelay> agedDevs;
{ {

View file

@ -37,7 +37,7 @@ class DevMgr {
/* Called from ctrl port */ /* Called from ctrl port */
void printDevices( StrWPF& str, void printDevices( StrWPF& str,
vector<DevIDRelay> devids /* empty means all */ ); const vector<DevIDRelay>& devids /* empty means all */ );
int forgetDevices( vector<DevIDRelay>& devids ); int forgetDevices( vector<DevIDRelay>& devids );
void getKnownDevices( vector<DevIDRelay>& devids ); void getKnownDevices( vector<DevIDRelay>& devids );