Changeset 61549 in vbox for trunk/src/VBox
- Timestamp:
- Jun 7, 2016 5:13:34 PM (9 years ago)
- Location:
- trunk/src/VBox/Main/src-server
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/BIOSSettingsImpl.cpp
r61042 r61549 204 204 205 205 m->bd.backup(); 206 m->bd->fLogoFadeIn = !!enable;206 m->bd->fLogoFadeIn = RT_BOOL(enable); 207 207 208 208 alock.release(); … … 233 233 234 234 m->bd.backup(); 235 m->bd->fLogoFadeOut = !!enable;235 m->bd->fLogoFadeOut = RT_BOOL(enable); 236 236 237 237 alock.release(); … … 349 349 350 350 m->bd.backup(); 351 m->bd->fACPIEnabled = !!enable;351 m->bd->fACPIEnabled = RT_BOOL(enable); 352 352 353 353 alock.release(); … … 379 379 m->bd.backup(); 380 380 381 m->bd->fIOAPICEnabled = !!aIOAPICEnabled;381 m->bd->fIOAPICEnabled = RT_BOOL(aIOAPICEnabled); 382 382 alock.release(); 383 383 AutoWriteLock mlock(m->pMachine COMMA_LOCKVAL_SRC_POS); // mParent is const, needs no locking … … 436 436 437 437 m->bd.backup(); 438 m->bd->fPXEDebugEnabled = !!enable;438 m->bd->fPXEDebugEnabled = RT_BOOL(enable); 439 439 440 440 alock.release(); … … 506 506 507 507 // simply copy 508 *m->bd.data() = data;508 m->bd.assignCopy(&data); 509 509 510 510 return S_OK; -
trunk/src/VBox/Main/src-server/ParallelPortImpl.cpp
r59926 r61549 213 213 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 214 214 215 if (m->bd->fEnabled != !!aEnabled)215 if (m->bd->fEnabled != RT_BOOL(aEnabled)) 216 216 { 217 217 m->bd.backup(); 218 m->bd->fEnabled = !!aEnabled;218 m->bd->fEnabled = RT_BOOL(aEnabled); 219 219 220 220 m->fModified = true; -
trunk/src/VBox/Main/src-server/SerialPortImpl.cpp
r59967 r61549 217 217 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 218 218 219 if (m->bd->fEnabled != !!aEnabled)219 if (m->bd->fEnabled != RT_BOOL(aEnabled)) 220 220 { 221 221 m->bd.backup(); 222 m->bd->fEnabled = !!aEnabled;222 m->bd->fEnabled = RT_BOOL(aEnabled); 223 223 224 224 m->fModified = true; … … 467 467 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 468 468 469 if (m->bd->fServer != !!aServer)469 if (m->bd->fServer != RT_BOOL(aServer)) 470 470 { 471 471 m->bd.backup(); 472 m->bd->fServer = !!aServer;472 m->bd->fServer = RT_BOOL(aServer); 473 473 474 474 m->fModified = true;
Note:
See TracChangeset
for help on using the changeset viewer.