VirtualBox

Ignore:
Timestamp:
Apr 10, 2019 9:57:16 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
129926
Message:

Recording/Main: Make pPeer of Recording[Screen]Settings::Data const.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/RecordingSettingsImpl.cpp

    r78069 r78070  
    4343    { }
    4444
    45     Machine * const              pMachine;
    46     ComObjPtr<RecordingSettings> pPeer;
    47     RecordScreenSettingsMap      mapScreenObj;
     45    Machine * const                    pMachine;
     46    const ComObjPtr<RecordingSettings> pPeer;
     47    RecordScreenSettingsMap            mapScreenObj;
    4848
    4949    // use the XML settings structure in the members for simplicity
     
    115115
    116116    unconst(m->pMachine) = aParent;
    117     m->pPeer = aThat;
     117    unconst(m->pPeer)    = aThat;
    118118
    119119    AutoWriteLock thatlock(aThat COMMA_LOCKVAL_SRC_POS);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette