mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
cleanup
This commit is contained in:
parent
fdbdfa5911
commit
5b7a039d78
3 changed files with 3 additions and 3 deletions
|
@ -80,7 +80,7 @@ CidLock::print_claimed( const char* caller )
|
|||
if ( 0 == info->GetOwner() ) {
|
||||
++unclaimed;
|
||||
} else {
|
||||
str. printf( "%d,", info->GetCid() );
|
||||
str.printf( "%d,", info->GetCid() );
|
||||
}
|
||||
}
|
||||
str.printf( " (plus %d unclaimed.)", unclaimed );
|
||||
|
|
|
@ -139,7 +139,7 @@ DevMgr::getKnownDevices( vector<DevIDRelay>& devids )
|
|||
// it, so that as much work as possible is done on the calling thread without
|
||||
// holding up more important stuff.
|
||||
void
|
||||
DevMgr::printDevices( StrWPF& str, vector<DevIDRelay> devids )
|
||||
DevMgr::printDevices( StrWPF& str, const vector<DevIDRelay>& devids )
|
||||
{
|
||||
map<uint32_t, DevIDRelay> agedDevs;
|
||||
{
|
||||
|
|
|
@ -37,7 +37,7 @@ class DevMgr {
|
|||
|
||||
/* Called from ctrl port */
|
||||
void printDevices( StrWPF& str,
|
||||
vector<DevIDRelay> devids /* empty means all */ );
|
||||
const vector<DevIDRelay>& devids /* empty means all */ );
|
||||
int forgetDevices( vector<DevIDRelay>& devids );
|
||||
void getKnownDevices( vector<DevIDRelay>& devids );
|
||||
|
||||
|
|
Loading…
Reference in a new issue