Changeset 81674 in vbox for trunk/src/VBox
- Timestamp:
- Nov 5, 2019 2:44:22 PM (5 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/AudioDriver.h
r76562 r81674 40 40 , strName(a_strName) { } 41 41 42 AudioDriverCfg& operator=(AudioDriverCfg that) 42 /** Copy assignment operator. */ 43 AudioDriverCfg& operator=(AudioDriverCfg const &a_rThat) RT_NOEXCEPT 43 44 { 44 this->strDev = that.strDev;45 this->uInst = that.uInst;46 this->uLUN = that.uLUN;47 this->strName = that.strName;45 this->strDev = a_rThat.strDev; 46 this->uInst = a_rThat.uInst; 47 this->uLUN = a_rThat.uLUN; 48 this->strName = a_rThat.strName; 48 49 49 50 return *this; … … 72 73 AudioDriver(Console *pConsole); 73 74 virtual ~AudioDriver(); 75 76 /** Copy assignment operator. */ 77 AudioDriver &operator=(AudioDriver const &a_rThat) RT_NOEXCEPT; 74 78 75 79 Console *GetParent(void) { return mpConsole; } -
trunk/src/VBox/Main/include/ConsoleImpl.h
r81429 r81674 580 580 { } 581 581 582 / / copy constructor582 /** Copy constructor. */ 583 583 SharedFolderData(const SharedFolderData& aThat) 584 584 : m_strHostPath(aThat.m_strHostPath) … … 587 587 , m_strAutoMountPoint(aThat.m_strAutoMountPoint) 588 588 { } 589 590 /** Copy assignment operator. */ 591 SharedFolderData &operator=(SharedFolderData const &a_rThat) RT_NOEXCEPT 592 { 593 m_strHostPath = a_rThat.m_strHostPath; 594 m_fWritable = a_rThat.m_fWritable; 595 m_fAutoMount = a_rThat.m_fAutoMount; 596 m_strAutoMountPoint = a_rThat.m_strAutoMountPoint; 597 598 return *this; 599 } 589 600 590 601 Utf8Str m_strHostPath; -
trunk/src/VBox/Main/include/GuestCtrlImplPrivate.h
r80873 r81674 765 765 : mValue(aThat.mValue) { } 766 766 767 /** Copy assignment operator. */ 768 GuestProcessStreamValue &operator=(GuestProcessStreamValue const &a_rThat) RT_NOEXCEPT 769 { 770 mValue = a_rThat.mValue; 771 772 return *this; 773 } 774 767 775 Utf8Str mValue; 768 776 }; -
trunk/src/VBox/Main/src-client/AudioDriver.cpp
r76553 r81674 38 38 } 39 39 40 40 41 AudioDriver::~AudioDriver(void) 41 42 { 43 } 44 45 46 AudioDriver &AudioDriver::operator=(AudioDriver const &a_rThat) RT_NOEXCEPT 47 { 48 mpConsole = a_rThat.mpConsole; 49 mCfg = a_rThat.mCfg; 50 mfAttached = a_rThat.mfAttached; 51 52 return *this; 42 53 } 43 54
Note:
See TracChangeset
for help on using the changeset viewer.